zr364xx __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
f10095c3ec
commit
97cf010aeb
@ -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)
|
loff_t * ppos)
|
||||||
{
|
{
|
||||||
unsigned long count = cnt;
|
unsigned long count = cnt;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user