From: Mauro Carvalho Chehab Date: Mon, 22 May 2006 13:31:57 +0000 (-0300) Subject: V4L/DVB (3973a): Return value is ssize_t X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=07f640f0ddd72e6158fca7f0694dbaf95cee4d2c;p=linux-beck.git V4L/DVB (3973a): Return value is ssize_t This patch fix a difference between v4l/dvb tree and kernel tree. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/bt8xx/dst_ca.c b/drivers/media/dvb/bt8xx/dst_ca.c index f6b49a801eba..fee27d58bda9 100644 --- a/drivers/media/dvb/bt8xx/dst_ca.c +++ b/drivers/media/dvb/bt8xx/dst_ca.c @@ -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.");