From: Al Viro Date: Fri, 9 Feb 2007 16:38:20 +0000 (+0000) Subject: [PATCH] usbvision missing __user X-Git-Tag: v2.6.21-rc1~83^2~47 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a5ab4157b3933d4fa29a1612879ab08f681041a;p=linux-2.6 [PATCH] usbvision missing __user Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c index 7243337b77..bdd6301d2a 100644 --- a/drivers/media/video/usbvision/usbvision-video.c +++ b/drivers/media/video/usbvision/usbvision-video.c @@ -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);