diff options
author | Krzysztof Halasa <khc@pm.waw.pl> | 2009-06-19 22:31:28 (GMT) |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-06-23 03:19:19 (GMT) |
commit | cfd43c025ddef0b1c723bb9811d2bde52b285710 (patch) | |
tree | 5f86bf0eedaa2c9471608820711119140b71db2a /drivers/gpu/drm/i915/i915_gem_debug.c | |
parent | aa0261f230105b86409e29bbe851b09830d93d50 (diff) | |
download | linux-cfd43c025ddef0b1c723bb9811d2bde52b285710.tar.xz |
drm/i915: Fix size_t handling in off-by-default debug printfs
Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_debug.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_debug.c b/drivers/gpu/drm/i915/i915_gem_debug.c index 8d0b943..f94b598 100644 --- a/drivers/gpu/drm/i915/i915_gem_debug.c +++ b/drivers/gpu/drm/i915/i915_gem_debug.c @@ -143,7 +143,7 @@ i915_gem_object_check_coherency(struct drm_gem_object *obj, int handle) uint32_t *backing_map = NULL; int bad_count = 0; - DRM_INFO("%s: checking coherency of object %p@0x%08x (%d, %dkb):\n", + DRM_INFO("%s: checking coherency of object %p@0x%08x (%d, %zdkb):\n", __func__, obj, obj_priv->gtt_offset, handle, obj->size / 1024); |