projects
/
platform
/
kernel
/
linux-stable.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
8a9d079
..
946bd91
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;
}