diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2007-09-26 16:18:19 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2007-09-26 16:18:33 +0100 |
commit | 61dfd19de81716aea0eaba90518fcb110b46b8f0 (patch) | |
tree | 0a4ae54ae1ca0e0c5f17eca25d9cc7580ec85705 | |
parent | dfcf9272ce4427d959098b0f9e1748832a47a786 (diff) |
Add brackets
-rw-r--r-- | linux-core/drm_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c index e991f117..a313c26c 100644 --- a/linux-core/drm_drv.c +++ b/linux-core/drm_drv.c @@ -660,7 +660,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; |