drm: use format %d to print error code
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Sat, 16 Jun 2012 14:25:24 +0000 (22:25 +0800)
committerDave Airlie <airlied@redhat.com>
Thu, 21 Jun 2012 08:34:42 +0000 (09:34 +0100)
commit4ef7fe7c66d4653930f67566a1df1c8f2d6daa6b
treee5a0d6ae49bb00be69a3d2d2cd8f19b72112a544
parentb375de0b09ef1659c28f365a9a8e947c311f77e5
drm: use format %d to print error code

It is more readable by printing "ret = -1" than "ret = 0xffffffff"

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_drv.c