fix missing brace placement for IOC_IN

main
Dave Airlie 2007-07-21 22:11:41 +10:00
parent f68ad6d1ab
commit b43b0b2b32
1 changed files with 3 additions and 2 deletions

View File

@ -615,9 +615,10 @@ int drm_ioctl(struct inode *inode, struct file *filp,
if (cmd & IOC_IN) { if (cmd & IOC_IN) {
if (copy_from_user(kdata, (void __user *)arg, if (copy_from_user(kdata, (void __user *)arg,
_IOC_SIZE(cmd)) != 0) _IOC_SIZE(cmd)) != 0) {
retcode = -EACCES; retcode = -EACCES;
goto err_i1; goto err_i1;
}
} }
if (!func) { if (!func) {