Skip to content

Commit

Permalink
V4L/DVB (7369): drivers/media/video/soc_camera.c: reads return size_t
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
CC: Guennadi Liakhovetski <kernel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Andrew Morton authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent e80faad commit aba360d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/soc_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit aba360d

Please sign in to comment.