fix missing brace placement for IOC_IN
parent
f68ad6d1ab
commit
b43b0b2b32
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue