]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (3973a): Return value is ssize_t
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 22 May 2006 13:31:57 +0000 (10:31 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 25 Jun 2006 05:00:01 +0000 (02:00 -0300)
This patch fix a difference between v4l/dvb tree and kernel tree.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/bt8xx/dst_ca.c

index f6b49a801eba92ae75e9d8d68ccc58000d1ff199..fee27d58bda9ee946b8312033995a4717648513a 100644 (file)
@@ -582,7 +582,7 @@ static int dst_ca_release(struct inode *inode, struct file *file)
 
 static ssize_t dst_ca_read(struct file *file, char __user *buffer, size_t length, loff_t *offset)
 {
-       int bytes_read = 0;
+       ssize_t bytes_read = 0;
 
        dprintk(verbose, DST_CA_DEBUG, 1, " Device read.");