summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Hurlbut <gjhurlbu@gmail.com>2010-09-30 23:21:20 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 11:55:30 +0200
commit106d7e376f3fcca7832561d6399f6b42f8530018 (patch)
tree665822140543b878e6efe5a5ffdcaf8e37195581
parent[media] Fix the negative -E{BLAH} returns from fops_read (diff)
downloadlinux-106d7e376f3fcca7832561d6399f6b42f8530018.tar.xz
linux-106d7e376f3fcca7832561d6399f6b42f8530018.zip
[media] Fix the -E{*} returns in the VBI device as well
Signed-off-by: Gavin Hurlbut <gjhurlbu@gmail.com> Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/saa7164/saa7164-vbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa7164/saa7164-vbi.c b/drivers/media/video/saa7164/saa7164-vbi.c
index c9b124cdd57e..9327848b2693 100644
--- a/drivers/media/video/saa7164/saa7164-vbi.c
+++ b/drivers/media/video/saa7164/saa7164-vbi.c
@@ -1112,7 +1112,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;