You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] trivial __user cleanup (video1394)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
18fb944257
commit
21b2922908
@@ -883,7 +883,7 @@ static int __video1394_ioctl(struct file *file,
|
||||
v.channel);
|
||||
}
|
||||
|
||||
if (copy_to_user((void *)arg, &v, sizeof(v))) {
|
||||
if (copy_to_user(argp, &v, sizeof(v))) {
|
||||
/* FIXME : free allocated dma resources */
|
||||
return -EFAULT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user