summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@ppcg5.localdomain>2007-07-21 22:11:41 +1000
committerDave Airlie <airlied@ppcg5.localdomain>2007-07-21 22:11:41 +1000
commitb43b0b2b32a31bcb81042659ffcc95b8975e42cf (patch)
tree6323a11a15d336865cb0d70cbee53da948f4c9f6
parentf68ad6d1abdce7d3c11cc2e90745c0d1e565fe77 (diff)
fix missing brace placement for IOC_IN
-rw-r--r--linux-core/drm_drv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c
index dba0a7ba8..8a6757903 100644
--- a/linux-core/drm_drv.c
+++ b/linux-core/drm_drv.c
@@ -615,9 +615,10 @@ int drm_ioctl(struct inode *inode, struct file *filp,
if (cmd & IOC_IN) {
if (copy_from_user(kdata, (void __user *)arg,
- _IOC_SIZE(cmd)) != 0)
+ _IOC_SIZE(cmd)) != 0) {
retcode = -EACCES;
- goto err_i1;
+ goto err_i1;
+ }
}
if (!func) {