Commit aba360d8 authored by Andrew Morton's avatar Andrew Morton Committed by Mauro Carvalho Chehab

V4L/DVB (7369): drivers/media/video/soc_camera.c: reads return size_t

Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
CC: Guennadi Liakhovetski <kernel@pengutronix.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent e80faad3
...@@ -269,7 +269,7 @@ static int soc_camera_close(struct inode *inode, struct file *file) ...@@ -269,7 +269,7 @@ static int soc_camera_close(struct inode *inode, struct file *file)
return 0; return 0;
} }
static int soc_camera_read(struct file *file, char __user *buf, static ssize_t soc_camera_read(struct file *file, char __user *buf,
size_t count, loff_t *ppos) size_t count, loff_t *ppos)
{ {
struct soc_camera_file *icf = file->private_data; struct soc_camera_file *icf = file->private_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment