summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2015-08-12 09:14:28 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-16 18:30:25 +0200
commit38e6a417f6205e98bef53c5530f5fddfea08e1c6 (patch)
tree7698545d4f1e4b8290038b692681b9e0df8ff0c7 /drivers/media/dvb-frontends
parent[media] bt8xxx: Use monotonic time (diff)
downloadlinux-38e6a417f6205e98bef53c5530f5fddfea08e1c6.tar.xz
linux-38e6a417f6205e98bef53c5530f5fddfea08e1c6.zip
[media] horus3a: fix compiler warning
Shut up this compiler warning that I get during the daily build: horus3a.c: In function 'horus3a_set_params': horus3a.c:308:24: warning: 'rolloff' may be used uninitialized in this function [-Wmaybe-uninitialized] symbol_rate * (100 + rolloff), 200000) + 5; ^ Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/horus3a.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/horus3a.c b/drivers/media/dvb-frontends/horus3a.c
index 5074305b289e..000606af70f7 100644
--- a/drivers/media/dvb-frontends/horus3a.c
+++ b/drivers/media/dvb-frontends/horus3a.c
@@ -285,6 +285,7 @@ static int horus3a_set_params(struct dvb_frontend *fe)
rolloff = 20;
break;
case ROLLOFF_AUTO:
+ default:
dev_err(&priv->i2c->dev,
"horus3a: auto roll-off is not supported\n");
return -EINVAL;