projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18fb944
)
[PATCH] trivial __user cleanup (video1394)
author
viro@ZenIV.linux.org.uk
<viro@ZenIV.linux.org.uk>
Fri, 9 Sep 2005 19:26:01 +0000
(20:26 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 9 Sep 2005 21:05:54 +0000
(14:05 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ieee1394/video1394.c
patch
|
blob
|
history
diff --git
a/drivers/ieee1394/video1394.c
b/drivers/ieee1394/video1394.c
index 06759b36afea0cc87896d844e3718a35ff4f68ca..9d6facf2f78f5751f3da65890ea94cf3f5419143 100644
(file)
--- a/
drivers/ieee1394/video1394.c
+++ b/
drivers/ieee1394/video1394.c
@@
-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;
}