summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-04-05 17:23:44 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-04-06 11:08:48 -0300
commitc6f977ec59bfdc25bbca086cc0817692b6a4392b (patch)
tree2b3317e965164ac34a0bd1fe4ed4f6a7ecd524e5 /drivers
parentcf2a320e1f61fe685757072dc75db0853b884e0b (diff)
downloadop-kernel-dev-c6f977ec59bfdc25bbca086cc0817692b6a4392b.zip
op-kernel-dev-c6f977ec59bfdc25bbca086cc0817692b6a4392b.tar.gz
[media] xc2028: add missing break to switch
Coverity CID 1196501: Missing break in switch (MISSING_BREAK) I introduced that bug recently by commit 96a5b3a869e3dc7d55bf04a48a8dca8a4025787e. As a result, it will flood unintentionally error message to log. Reported-by: <scan-admin@coverity.com> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/tuners/tuner-xc2028.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/tuners/tuner-xc2028.c b/drivers/media/tuners/tuner-xc2028.c
index 76a8165..6ef93ee 100644
--- a/drivers/media/tuners/tuner-xc2028.c
+++ b/drivers/media/tuners/tuner-xc2028.c
@@ -1107,6 +1107,7 @@ static int generic_set_freq(struct dvb_frontend *fe, u32 freq /* in HZ */,
offset += 200000;
}
#endif
+ break;
default:
tuner_err("Unsupported tuner type %d.\n", new_type);
break;
OpenPOWER on IntegriCloud