projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b375de0
)
drm: use format %d to print error code
author
Yuanhan Liu
<yuanhan.liu@linux.intel.com>
Sat, 16 Jun 2012 14:25:24 +0000
(22:25 +0800)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 21 Jun 2012 08:34:42 +0000
(09:34 +0100)
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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_drv.c
b/drivers/gpu/drm/drm_drv.c
index 8a9d0792e4ec3cd4af688faf6751fa6d6617a35e..946bd91c57ec162a1fab8b3d122c17bb2ca2dd8c 100644
(file)
--- a/
drivers/gpu/drm/drm_drv.c
+++ b/
drivers/gpu/drm/drm_drv.c
@@
-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;
}