[Intel-gfx] [PATCH] drm/i915: fix command parser debug print format mismatches

2014-04-03 Thread Damien Lespiau
On Thu, Apr 03, 2014 at 11:32:30AM +0200, Daniel Vetter wrote: > On Wed, Apr 02, 2014 at 08:26:23AM -0700, Randy Dunlap wrote: > > On 04/02/2014 01:24 AM, Jani Nikula wrote: > > > Drop the cast from the pointer diff to fix: > > > > > > drivers/gpu/drm/i915/i915_cmd_parser.c:405:4: warning: format

[Intel-gfx] [PATCH] drm/i915: fix command parser debug print format mismatches

2014-04-03 Thread Daniel Vetter
On Wed, Apr 02, 2014 at 08:26:23AM -0700, Randy Dunlap wrote: > On 04/02/2014 01:24 AM, Jani Nikula wrote: > > Drop the cast from the pointer diff to fix: > > > > drivers/gpu/drm/i915/i915_cmd_parser.c:405:4: warning: format '%td' expects > > argument of type 'ptrdiff_t', but argument 5 has type

[PATCH] drm/i915: fix command parser debug print format mismatches

2014-04-02 Thread Jani Nikula
Drop the cast from the pointer diff to fix: drivers/gpu/drm/i915/i915_cmd_parser.c:405:4: warning: format '%td' expects argument of type 'ptrdiff_t', but argument 5 has type 'long unsigned int' [-Wformat] While at it, use %u for u32. Reported-by: Randy Dunlap Signed-off-by: Jani Nikula ---

[PATCH] drm/i915: fix command parser debug print format mismatches

2014-04-02 Thread Randy Dunlap
On 04/02/2014 01:24 AM, Jani Nikula wrote: > Drop the cast from the pointer diff to fix: > > drivers/gpu/drm/i915/i915_cmd_parser.c:405:4: warning: format '%td' expects > argument of type 'ptrdiff_t', but argument 5 has type 'long unsigned int' > [-Wformat] > > While at it, use %u for u32. > >