aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394
diff options
context:
space:
mode:
authorviro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk>2005-09-09 15:26:01 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 17:05:54 -0400
commit21b29229086bcaf14c02b160c253095f3bb95f99 (patch)
tree91c4a76517f5d166d31c47a920ec6f24cdb07fa6 /drivers/ieee1394
parent18fb9442576c79fc2f4bca1fd90c3aa4d1115e97 (diff)
[PATCH] trivial __user cleanup (video1394)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r--drivers/ieee1394/video1394.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/video1394.c b/drivers/ieee1394/video1394.c
index 06759b36afea..9d6facf2f78f 100644
--- a/drivers/ieee1394/video1394.c
+++ b/drivers/ieee1394/video1394.c
@@ -883,7 +883,7 @@ static int __video1394_ioctl(struct file *file,
883 v.channel); 883 v.channel);
884 } 884 }
885 885
886 if (copy_to_user((void *)arg, &v, sizeof(v))) { 886 if (copy_to_user(argp, &v, sizeof(v))) {
887 /* FIXME : free allocated dma resources */ 887 /* FIXME : free allocated dma resources */
888 return -EFAULT; 888 return -EFAULT;
889 } 889 }