Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145191
b: refs/heads/master
c: 9b6fe31
h: refs/heads/master
i:
  145189: 5258563
  145187: 6d0ba74
  145183: ddf82b2
v: v3
  • Loading branch information
Michel Dänzer authored and Jesse Barnes committed May 20, 2009
1 parent c79fc00 commit 001c790
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b674137755bbe2750f997a2a1264db3cdf8abcb3
refs/heads/master: 9b6fe313bfce27d4a261257da70196be0ac2bef5
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/drm_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ int drm_ioctl(struct inode *inode, struct file *filp,
}
retcode = func(dev, kdata, file_priv);

if ((retcode == 0) && (cmd & IOC_OUT)) {
if (cmd & IOC_OUT) {
if (copy_to_user((void __user *)arg, kdata,
_IOC_SIZE(cmd)) != 0)
retcode = -EFAULT;
Expand Down

0 comments on commit 001c790

Please sign in to comment.