From: Gavin Hurlbut Date: Thu, 30 Sep 2010 21:21:20 +0000 (-0300) Subject: [media] Fix the -E{*} returns in the VBI device as well X-Git-Tag: v3.0~2969^2~136 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=106d7e376f3fcca7832561d6399f6b42f8530018;p=platform%2Fkernel%2Flinux-amlogic.git [media] Fix the -E{*} returns in the VBI device as well Signed-off-by: Gavin Hurlbut Signed-off-by: Steven Toth Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/saa7164/saa7164-vbi.c b/drivers/media/video/saa7164/saa7164-vbi.c index c9b124c..9327848 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;