lkml.org 
[lkml]   [2008]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectDVB Update [PATCH 29/31] multiproto tree
From d947346c66e2af7f3dd055e7daf1778d98c61e50 Mon Sep 17 00:00:00 2001
From: Manu Abraham <manu@linuxtv.org>
Date: Thu, 4 Sep 2008 14:56:05 +0200
Subject: [PATCH] DVB fix missing return value

From: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Manu Abraham <manu@linuxtv.org>

dvb_frontend.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
From d947346c66e2af7f3dd055e7daf1778d98c61e50 Mon Sep 17 00:00:00 2001
From: Manu Abraham <manu@linuxtv.org>
Date: Thu, 4 Sep 2008 14:56:05 +0200
Subject: [PATCH] DVB fix missing return value

From: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Manu Abraham <manu@linuxtv.org>

diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index 42ed894..3a49876 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -1851,9 +1851,10 @@ static int dvb_frontend_ioctl(struct inode *inode, struct file *file,
break;
case DVBFE_SET_DELSYS:
memcpy(&fepriv->delsys, (enum dvbfe_delsys *) parg, sizeof (enum dvbfe_delsys));
- if (fe->ops.set_delsys)
+ if (fe->ops.set_delsys) {
fe->ops.set_delsys(fe, fepriv->delsys);
-
+ err = 0;
+ }
break;
case DVBFE_GET_INFO:
printk("%s: DVBFE_GET_INFO\n", __func__);
\
 
 \ /
  Last update: 2008-09-04 20:51    [W:0.030 / U:2.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site