summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-10-30 21:08:30 +0000
committerDave Airlie <airlied@redhat.com>2010-11-09 13:37:15 +1000
commitfce7d61be01ad7606056608be08fef15b70eeb84 (patch)
tree362887ff2bd2b0e034b882345886cbdbedfa4e5c /drivers/gpu/drm/i915
parent85b54e0c194fe216eb70cbce44365cef42cdc33e (diff)
downloadblackbird-op-linux-fce7d61be01ad7606056608be08fef15b70eeb84.tar.gz
blackbird-op-linux-fce7d61be01ad7606056608be08fef15b70eeb84.zip
drivers/gpu/drm: Update WARN uses
Coalesce long formats. Align arguments. Add missing newlines. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index eba9b1615228..ef188e391406 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -4065,8 +4065,7 @@ i915_gem_object_pin(struct drm_gem_object *obj, uint32_t alignment)
alignment = i915_gem_get_gtt_alignment(obj);
if (obj_priv->gtt_offset & (alignment - 1)) {
WARN(obj_priv->pin_count,
- "bo is already pinned with incorrect alignment:"
- " offset=%x, req.alignment=%x\n",
+ "bo is already pinned with incorrect alignment: offset=%x, req.alignment=%x\n",
obj_priv->gtt_offset, alignment);
ret = i915_gem_object_unbind(obj);
if (ret)
OpenPOWER on IntegriCloud