diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-03-18 17:43:08 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-18 19:49:42 +0100 |
commit | e5081a538a565284fec5f30a937d98e460d5e780 (patch) | |
tree | ab78e74458ac3ada8980be03f1a6257abadd9fe1 /drivers/gpu/drm/i915/i915_trace.h | |
parent | fa50ad614892c99232ce30710ffa704c485bb679 (diff) | |
download | talos-obmc-linux-e5081a538a565284fec5f30a937d98e460d5e780.tar.gz talos-obmc-linux-e5081a538a565284fec5f30a937d98e460d5e780.zip |
drm/i915: Use the correct format string modifier for ptrdiff_t
When compiling on 32bits, I have the following warning:
drivers/gpu/drm/i915/i915_cmd_parser.c:405:4: warning: format ‘%ld’
expects argument of type ‘long int’, but argument 7 has type ‘int’
[-Wformat=]
DRM_DEBUG_DRIVER("CMD: Command length exceeds batch length: 0x%08X
length=%d batchlen=%ld\n",
The ptrdiff_t type has its own modifier: 't'.
Cc: Brad Volkin <bradley.d.volkin@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Brad Volkin <bradley.d.volkin@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_trace.h')
0 files changed, 0 insertions, 0 deletions