OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6671ad1
)
Add brackets
author
Alan Hourihane
<alanh@fairlite.demon.co.uk>
Wed, 26 Sep 2007 15:18:19 +0000
(16:18 +0100)
committer
Alan Hourihane
<alanh@fairlite.demon.co.uk>
Wed, 26 Sep 2007 15:18:19 +0000
(16:18 +0100)
linux-core/drm_drv.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_drv.c
b/linux-core/drm_drv.c
index
8513a28
..
7359889
100644
(file)
--- a/
linux-core/drm_drv.c
+++ b/
linux-core/drm_drv.c
@@
-645,7
+645,7
@@
long drm_unlocked_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
retcode = func(dev, kdata, file_priv);
}
- if ((retcode == 0) &&
cmd & IOC_OUT
) {
+ if ((retcode == 0) &&
(cmd & IOC_OUT)
) {
if (copy_to_user((void __user *)arg, kdata,
_IOC_SIZE(cmd)) != 0)
retcode = -EACCES;