i915: fix wrong 'size_t' format string
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 28 Mar 2009 00:02:09 +0000 (17:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 28 Mar 2009 00:02:09 +0000 (17:02 -0700)
For the fifteen bazillionth time.

See also commits f06da264cfb0f9444d41ca247213e419f90aa72a and
aeb565dfc3ac4c8b47c5049085b4c7bfb2c7d5d7 ("i915: Fix more size_t format
string warnings" and "Fix annoying DRM_ERROR() string warning").

Grr-target: Eric Anholt <eric@anholt.net>
Grr-target: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/i915/i915_gem_debugfs.c

index 5a4cdb5d28716ae241f564bce478ab23f6c3c5f0..455ec970b3854e64c38eace44e1d78bca9fe7db1 100644 (file)
@@ -192,7 +192,7 @@ static int i915_gem_fence_regs_info(struct seq_file *m, void *data)
 
                        obj_priv = obj->driver_private;
                        seq_printf(m, "Fenced object[%2d] = %p: %s "
-                                  "%08x %08x %08x %s %08x %08x %d",
+                                  "%08x %08zx %08x %s %08x %08x %d",
                                   i, obj, get_pin_flag(obj_priv),
                                   obj_priv->gtt_offset,
                                   obj->size, obj_priv->stride,