mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00: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:
parent
18fb944257
commit
21b2922908
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue