]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] usbvision missing __user
authorAl Viro <viro@ftp.linux.org.uk>
Fri, 9 Feb 2007 16:38:20 +0000 (16:38 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 9 Feb 2007 17:14:06 +0000 (09:14 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/media/video/usbvision/usbvision-video.c

index 7243337b771a5031b54ec861d1cd6fc1e7e25d25..bdd6301d2a47dc6515f172fb37d03a94de528958 100644 (file)
@@ -1072,7 +1072,7 @@ static int usbvision_v4l2_ioctl(struct inode *inode, struct file *file,
 }
 
 
-static ssize_t usbvision_v4l2_read(struct file *file, char *buf,
+static ssize_t usbvision_v4l2_read(struct file *file, char __user *buf,
                      size_t count, loff_t *ppos)
 {
        struct video_device *dev = video_devdata(file);