drm/i915: fix build warning on 32-bit (v2)
authorDave Airlie <airlied@redhat.com>
Fri, 28 Mar 2014 03:03:48 +0000 (13:03 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Mar 2014 03:40:48 +0000 (13:40 +1000)
commit60f2b4af1258c05e6b037af866be81abc24438f7
treea9bcf3f37ab1e95168c9d79e99059fc515e97735
parent0ed0298353476f7baac94b9a634fbde042a3796d
drm/i915: fix build warning on 32-bit (v2)

/ssd/git/drm-next/drivers/gpu/drm/i915/i915_cmd_parser.c: In function ‘i915_parse_cmds’:
/ssd/git/drm-next/drivers/gpu/drm/i915/i915_cmd_parser.c:405:4: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘int’ [-Wformat=]
    DRM_DEBUG_DRIVER("CMD: Command length exceeds batch length: 0x%08X length=%d batchlen=%ld\n",
    ^

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_cmd_parser.c