fix missing brace placement for IOC_IN
parent
f68ad6d1ab
commit
b43b0b2b32
|
@ -615,10 +615,11 @@ 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;
|
||||
}
|
||||
}
|
||||
|
||||
if (!func) {
|
||||
DRM_DEBUG("no function\n");
|
||||
|
|
Loading…
Reference in New Issue