drm/i915: fix build warning on format specifier mismatch
authorJani Nikula <jani.nikula@intel.com>
Fri, 7 Jun 2013 13:03:50 +0000 (16:03 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Jul 2013 09:14:43 +0000 (11:14 +0200)
commit3765f3048651586e2617793e9efe184ff8c79a97
treeaa6624d0a21dd76ad8ed330a74948ed5ae7cdb05
parent0f4f7b57954dda93b10e3b46594b0bfe24bba22c
drm/i915: fix build warning on format specifier mismatch

drivers/gpu/drm/i915/i915_gem.c: In function ‘i915_gem_object_bind_to_gtt’:
drivers/gpu/drm/i915/i915_gem.c:3002:3: warning: format ‘%ld’ expects
argument of type ‘long int’, but argument 5 has type ‘size_t’ [-Wformat]

v2: Use %zu instead of %d. Two char patch, and 100% wrong. (Ville)

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c