[Intel-gfx] [PATCH] Fix printf format mismatch

Ben Gamari bgamari at gmail.com
Tue Feb 24 23:19:17 CET 2009


---
 drivers/gpu/drm/i915/i915_gem_debugfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_gem_debugfs.c b/drivers/gpu/drm/i915/i915_gem_debugfs.c
index 5a4cdb5..455ec97 100644
--- a/drivers/gpu/drm/i915/i915_gem_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_gem_debugfs.c
@@ -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,
-- 
1.6.1.3




More information about the Intel-gfx mailing list