forked from Minki/linux
V4L/DVB (7369): drivers/media/video/soc_camera.c: reads return size_t
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> CC: Guennadi Liakhovetski <kernel@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
e80faad3d7
commit
aba360d8cc
@ -269,7 +269,7 @@ static int soc_camera_close(struct inode *inode, struct file *file)
|
||||
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)
|
||||
{
|
||||
struct soc_camera_file *icf = file->private_data;
|
||||
|
Loading…
Reference in New Issue
Block a user