Commit 4ef7fe7c authored by Yuanhan Liu's avatar Yuanhan Liu Committed by Dave Airlie

drm: use format %d to print error code

It is more readable by printing "ret = -1" than "ret = 0xffffffff"
Signed-off-by: default avatarYuanhan Liu <yuanhan.liu@linux.intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent b375de0b
......@@ -486,7 +486,7 @@ long drm_ioctl(struct file *filp,
kfree(kdata);
atomic_dec(&dev->ioctl_count);
if (retcode)
DRM_DEBUG("ret = %x\n", retcode);
DRM_DEBUG("ret = %d\n", retcode);
return retcode;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment