From: Al Viro Date: Sat, 29 Mar 2008 03:10:48 +0000 (+0000) Subject: zr364xx __user annotations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=97cf010aeb03fd515613313ad43508e49acae7fb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git zr364xx __user annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/media/video/zr364xx.c b/drivers/media/video/zr364xx.c index 1b44784d0efb..04949c823654 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;