Commit 27574e94 authored by David S. Miller's avatar David S. Miller

[MEDIA]: Make read method return ssize_t in cpia.c

parent b1710f39
......@@ -3300,8 +3300,8 @@ static int cpia_close(struct inode *inode, struct file *file)
return 0;
}
static int cpia_read(struct file *file, char *buf,
size_t count, loff_t *ppos)
static ssize_t cpia_read(struct file *file, char *buf,
size_t count, loff_t *ppos)
{
struct video_device *dev = file->private_data;
struct cam_data *cam = dev->priv;
......
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