summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-03-29 03:10:48 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2008-03-30 14:20:24 -0700
commit97cf010aeb03fd515613313ad43508e49acae7fb (patch)
treef52a9ce55f8413f60da8d6327c86f5723227b3df /drivers/media
parentf10095c3ecb2116ef8b8fa7a56bd9f8b5fd89031 (diff)
downloadop-kernel-dev-97cf010aeb03fd515613313ad43508e49acae7fb.zip
op-kernel-dev-97cf010aeb03fd515613313ad43508e49acae7fb.tar.gz
zr364xx __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/zr364xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/zr364xx.c b/drivers/media/video/zr364xx.c
index 1b44784..04949c8 100644
--- a/drivers/media/video/zr364xx.c
+++ b/drivers/media/video/zr364xx.c
@@ -390,7 +390,7 @@ static int read_frame(struct zr364xx_camera *cam, int framenum)
}
-static ssize_t zr364xx_read(struct file *file, char *buf, size_t cnt,
+static ssize_t zr364xx_read(struct file *file, char __user *buf, size_t cnt,
loff_t * ppos)
{
unsigned long count = cnt;
OpenPOWER on IntegriCloud