From: Al Viro Date: Fri, 9 Feb 2007 16:38:20 +0000 (+0000) Subject: [PATCH] usbvision missing __user X-Git-Tag: MMI-PSA29.97-13-9~45107^2~47 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8a5ab4157b3933d4fa29a1612879ab08f681041a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [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 7243337b771a..bdd6301d2a47 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);