提交 f20a07d4 编写于 作者: G Gavin Hurlbut 提交者: Mauro Carvalho Chehab

[media] Fix the negative -E{BLAH} returns from fops_read

Signed-off-by: NGavin Hurlbut <gjhurlbu@gmail.com>
Signed-off-by: NSteven Toth <stoth@kernellabs.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 f89076c5
......@@ -1165,7 +1165,7 @@ static ssize_t fops_read(struct file *file, char __user *buffer,
struct saa7164_port *port = fh->port;
struct saa7164_user_buffer *ubuf = NULL;
struct saa7164_dev *dev = port->dev;
unsigned int ret = 0;
int ret = 0;
int rem, cnt;
u8 *p;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册