summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-02-09 16:38:20 +0000
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-09 09:14:06 -0800
commit8a5ab4157b3933d4fa29a1612879ab08f681041a (patch)
treeedfaaa16fbe50ed37bb9dc5ef5bb6ced69e4d7e9
parentd7bde2fe043c2f7ddcf1d8bec139684ef774c8bc (diff)
downloadop-kernel-dev-8a5ab4157b3933d4fa29a1612879ab08f681041a.zip
op-kernel-dev-8a5ab4157b3933d4fa29a1612879ab08f681041a.tar.gz
[PATCH] usbvision missing __user
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/media/video/usbvision/usbvision-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c
index 7243337..bdd6301 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);
OpenPOWER on IntegriCloud