[Intel-gfx] [PATCH 1/5] drm/i915: Fix %z from last patch.
Ben Widawsky
ben at bwidawsk.net
Fri Jan 18 21:27:40 CET 2013
Hmm, for whatever reason, my gcc doesn't complain about this, so I am
not really sure what's going on.
Fix for [drm-intel:drm-intel-next-queued 17/20]
drivers/gpu/drm/i915/i915_debugfs.c:263:6: warning: format '%zu' expects
argument of type 'size_t', but argument 4 has type 'long unsigned int'
Found by Fenguang's 0-DAY kernel build testing
Recommend to squash this in to, since it is not on an upstream branch
yet.
commit 00fc2c3c53d7bfc9a29e5f4bdf2677f0c399f3bc
Author: Ben Widawsky <ben at bwidawsk.net>
Date: Thu Jan 17 12:45:14 2013 -0800
drm/i915: Remove gtt_mappable_total
Cc: dri-devel at lists.freedesktop.org
Cc: Fenguang Wu <fengguang.wu at intel.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
---
drivers/gpu/drm/i915/i915_debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index 773b23e..90a6fc5 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -258,7 +258,7 @@ static int i915_gem_object_info(struct seq_file *m, void* data)
seq_printf(m, "%u fault mappable objects, %zu bytes\n",
count, size);
- seq_printf(m, "%zu [%zu] gtt total\n",
+ seq_printf(m, "%zu [%lu] gtt total\n",
dev_priv->gtt.total,
dev_priv->gtt.mappable_end - dev_priv->gtt.start);
--
1.8.1.1
More information about the Intel-gfx
mailing list