DVB Update [PATCH 29/31] fix missing return value
From: Manu Abraham
Date: Thu Sep 04 2008 - 16:35:04 EST
>From d947346c66e2af7f3dd055e7daf1778d98c61e50 Mon Sep 17 00:00:00 2001
From: Manu Abraham <manu@xxxxxxxxxxx>
Date: Thu, 4 Sep 2008 14:56:05 +0200
Subject: [PATCH] DVB fix missing return value
From: Manu Abraham <abraham.manu@xxxxxxxxx>
Signed-off-by: Manu Abraham <manu@xxxxxxxxxxx>
dvb_frontend.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
>From d947346c66e2af7f3dd055e7daf1778d98c61e50 Mon Sep 17 00:00:00 2001
From: Manu Abraham <manu@xxxxxxxxxxx>
Date: Thu, 4 Sep 2008 14:56:05 +0200
Subject: [PATCH] DVB fix missing return value
From: Manu Abraham <abraham.manu@xxxxxxxxx>
Signed-off-by: Manu Abraham <manu@xxxxxxxxxxx>
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__);