linux/drivers/media/dvb-frontends
Christian Engelmayer ec73b9fdc7 [media] si2165: Fix possible leak in si2165_upload_firmware()
In case of an error function si2165_upload_firmware() releases the already
requested firmware in the exit path. However, there is one deviation where
the function directly returns. Use the correct cleanup so that the firmware
memory gets freed correctly. Detected by Coverity CID 1269120.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Reviewed-by: Luis de Bethencourt <luis.bg@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-04-08 08:12:00 -03:00
..
drx39xyj [media] DVB-frontends: Deletion of unnecessary checks before the function call "release_firmware" 2014-11-25 09:52:44 -02:00
a8293.c [media] a8293: add small sleep in order to settle LNB voltage 2013-12-18 07:18:31 -02:00
a8293.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
af9013_priv.h [media] af9013: use Kernel dev_foo() logging 2012-09-23 20:10:27 -03:00
af9013.c [media] af9013: use true/false for boolean vars 2014-09-03 17:59:14 -03:00
af9013.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
af9033_priv.h [media] af9033: fix DVBv3 snr value not correct issue 2014-11-04 18:20:35 -02:00
af9033.c [media] af0933: Don't go past arrays 2014-11-05 08:09:27 -02:00
af9033.h [media] af9033: remove I2C addr from config 2014-09-21 19:39:47 -03:00
as102_fe_types.h [media] as102-fe: make it an independent driver 2014-08-21 15:25:30 -05:00
as102_fe.c [media] as102-fe: Add a release function 2014-08-21 15:25:31 -05:00
as102_fe.h [media] as102-fe: make it an independent driver 2014-08-21 15:25:30 -05:00
atbm8830_priv.h
atbm8830.c
atbm8830.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
au8522_common.c
au8522_decoder.c [media] au0828/au8522: Add PAL-M support 2014-06-19 13:31:37 -03:00
au8522_dig.c [media] au8522: improve lock performance with ZeeVee modulators 2014-11-03 12:25:28 -02:00
au8522_priv.h [media] au0828/au8522: Add PAL-M support 2014-06-19 13:31:37 -03:00
au8522.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
bcm3510_priv.h
bcm3510.c [media] dvb-frontends: use %zu instead of %zd 2014-09-26 06:50:59 -03:00
bcm3510.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
bsbe1-d01a.h
bsbe1.h
bsru6.h
cx22700.c [media] cx22700: Fix potential buffer overflow 2014-11-05 09:42:22 -02:00
cx22700.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
cx22702.c
cx22702.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
cx24110.c [media] cx24110: Simplify error handling at cx24110_set_fec() 2014-11-05 10:00:45 -02:00
cx24110.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
cx24113.c
cx24113.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
cx24116.c [media] dvb-frontends: Replace memcpy with struct assignment 2012-12-27 19:03:15 -02:00
cx24116.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
cx24117.c [media] cx24117: Grammar s/if ... if/if ... is/ 2014-12-04 13:57:24 -02:00
cx24117.h [media] cx24117: use hybrid_tuner_request/release_state to share state between multiple instances 2013-10-03 07:40:12 -03:00
cx24123.c [media] cx24123: fix kernel oops due to missing parent pointer 2014-09-21 20:55:37 -03:00
cx24123.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
cxd2820r_c.c [media] cxd2820r: use true/false for boolean vars 2014-09-03 17:59:15 -03:00
cxd2820r_core.c media updates for v3.18-rc1 2014-10-10 22:04:49 -04:00
cxd2820r_priv.h [media] cxd2820r: use Kernel GPIO for GPIO access 2012-09-27 14:33:58 -03:00
cxd2820r_t2.c [media] cxd2820r: TS clock inversion in config 2014-07-22 09:47:05 -03:00
cxd2820r_t.c [media] cxd2820r: use true/false for boolean vars 2014-09-03 17:59:15 -03:00
cxd2820r.h [media] cxd2820r: TS clock inversion in config 2014-07-22 09:47:05 -03:00
dib0070.c
dib0070.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
dib0090.c [media] dib0090: Fix the sleep time at the state machine 2014-07-07 09:58:55 -03:00
dib0090.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
dib3000.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
dib3000mb_priv.h
dib3000mb.c
dib3000mc.c
dib3000mc.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
dib7000m.c [media] dib7000m: Remove unnecessary null test 2014-07-22 21:42:23 -03:00
dib7000m.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
dib7000p.c [media] dib7000p: get rid of an unused argument 2014-10-30 08:12:58 -02:00
dib7000p.h [media] dib7000: export just one symbol 2014-06-17 12:04:49 -03:00
dib8000.c [media] dib8000: upd_demod_gain_period should be u32 2015-02-02 13:21:25 -02:00
dib8000.h [media] dib8000: export just one symbol 2014-06-17 12:04:50 -03:00
dib9000.c [media] media: dib9000: avoid out of bound access 2014-07-22 21:15:41 -03:00
dib9000.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
dibx000_common.c
dibx000_common.h [media] dib8000: enhancement 2013-04-22 16:58:16 -03:00
drxd_firm.c
drxd_firm.h
drxd_hard.c [media] drxd: remove a dead code 2014-09-26 06:47:58 -03:00
drxd_map_firm.h
drxd.h [media] drxd: get rid of EXPORT_SYMBOL(drxd_config_i2c) 2014-06-17 12:04:38 -03:00
drxk_hard.c [media] DVB-frontends: Deletion of unnecessary checks before the function call "release_firmware" 2014-11-25 09:52:44 -02:00
drxk_hard.h [media] drxk_hard.h: don't use more than 80 columns 2013-06-08 22:09:41 -03:00
drxk_map.h [media] drxk: Add pre/post BER and PER/UCB stats 2013-03-21 10:26:50 -03:00
drxk.h [media] drxk: remove the option to load firmware asynchronously 2014-01-14 14:40:10 -02:00
ds3000.c [media] ds3000: fix LNB supply voltage on Tevii S480 on initialization 2014-10-30 16:53:44 -02:00
ds3000.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
dvb_dummy_fe.c [media] drivers/media/dvb-frontends/dvb_dummy_fe.c: Removes useless kfree() 2012-10-06 11:07:34 -03:00
dvb_dummy_fe.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
dvb-pll.c
dvb-pll.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
ec100.c [media] ec100: improve I2C routines 2012-09-23 20:11:26 -03:00
ec100.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
eds1547.h
hd29l2_priv.h [media] hd29l2: use Kernel dev_foo() logging 2012-09-23 20:11:55 -03:00
hd29l2.c [media] hd29l2: fix sparse error and warnings 2014-12-23 10:42:51 -02:00
hd29l2.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
isl6405.c [media] drivers/media: Remove unnecessary semicolon 2012-10-07 09:15:18 -03:00
isl6405.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
isl6421.c [media] cx88: kernel bz#9476: Fix tone setting for Nova-S+ model 92001 2013-04-08 06:56:47 -03:00
isl6421.h [media] cx88: kernel bz#9476: Fix tone setting for Nova-S+ model 92001 2013-04-08 06:56:47 -03:00
isl6423.c
isl6423.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
itd1000_priv.h
itd1000.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:38 -02:00
itd1000.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
ix2505v.c [media] ix2505v: use %*ph[N] to dump small buffers 2012-12-21 14:27:02 -02:00
ix2505v.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
Kconfig [media] DVB: add support for LG Electronics LGDT3306A ATSC/QAM-B Demodulator 2015-03-03 10:34:08 -03:00
l64781.c [media] dvb-frontends: get rid of some "always false" warnings 2012-10-28 07:38:44 -02:00
l64781.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
lg2160.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
lg2160.h [media] lg2160: dubious one-bit signed bitfield 2013-04-22 10:04:20 -03:00
lgdt330x_priv.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
lgdt330x.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
lgdt330x.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
lgdt3305.c [media] lgdt3305: add support for fixed tp clock mode 2015-01-29 18:32:01 -02:00
lgdt3305.h [media] lgdt3305: add support for fixed tp clock mode 2015-01-29 18:32:01 -02:00
lgdt3306a.c [media] lgdt3306a: Minor source code cleanups 2015-03-03 10:34:15 -03:00
lgdt3306a.h [media] lgdt3306a: Remove FSF address 2015-03-03 10:34:13 -03:00
lgs8gl5.c
lgs8gl5.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
lgs8gxx_priv.h
lgs8gxx.c
lgs8gxx.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
lnbh24.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
lnbp21.c [media] drivers/media: Remove unnecessary semicolon 2012-10-07 09:15:18 -03:00
lnbp21.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
lnbp22.c [media] drivers/media: Remove unnecessary semicolon 2012-10-07 09:15:18 -03:00
lnbp22.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
m88ds3103_priv.h [media] m88ds3103: add support for the demod of M88RS6000 2014-11-03 18:24:15 -02:00
m88ds3103.c [media] m88ds3103: One function call less in m88ds3103_init() after error detection 2014-11-25 12:07:33 -02:00
m88ds3103.h [media] m88ds3103: implement set voltage and TS clock 2014-09-02 15:02:10 -03:00
m88rs2000.c [media] m88rs2000: fix sparse static warnings 2014-04-07 09:39:39 -03:00
m88rs2000.h [media] m88rs2000: add m88rs2000_set_carrieroffset 2014-01-07 09:35:58 -02:00
Makefile [media] DVB: add support for LG Electronics LGDT3306A ATSC/QAM-B Demodulator 2015-03-03 10:34:08 -03:00
mb86a16_priv.h
mb86a16.c [media] dvb: return the error from i2c_transfer if negative 2014-09-22 17:05:13 -03:00
mb86a16.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
mb86a20s.c [media] mb86a20s: remove unused debug modprobe parameter 2015-01-26 10:08:29 -02:00
mb86a20s.h [media, edac] Change my email address 2014-02-07 08:03:07 -02:00
mn88472.h [media] mn88472: add ts mode and ts clock to driver 2015-04-08 06:54:41 -03:00
mn88473.h [media] mn88473: calculate the IF register values 2015-03-03 13:07:55 -03:00
mt312_priv.h
mt312.c [media] dvb-frontends: use %zu instead of %zd 2014-09-26 06:50:59 -03:00
mt312.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
mt352_priv.h
mt352.c
mt352.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
nxt200x.c [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
nxt200x.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
nxt6000_priv.h
nxt6000.c
nxt6000.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
or51132.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
or51132.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
or51211.c [media] dvb-frontends: use %zu instead of %zd 2014-09-26 06:50:59 -03:00
or51211.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
rtl2830_priv.h [media] rtl2830: convert to regmap API 2015-02-03 15:59:19 -02:00
rtl2830.c [media] rtl2830: declare functions as static 2015-02-03 16:38:29 -02:00
rtl2830.h [media] rtl2830: add kernel-doc comments for platform_data 2015-02-03 16:30:26 -02:00
rtl2832_priv.h [media] rtl2832: implement own lock for regmap 2015-02-03 16:28:12 -02:00
rtl2832_sdr.c [media] rtl2832_sdr: refcount to rtl28xxu 2015-02-03 16:22:24 -02:00
rtl2832_sdr.h [media] rtl2832_sdr: add kernel-doc comments for platform_data 2015-02-03 16:31:01 -02:00
rtl2832.c [media] rtl2832: fix compiler warning 2015-04-02 18:22:54 -03:00
rtl2832.h [media] rtl2832: add kernel-doc comments for platform_data 2015-02-03 16:30:47 -02:00
s5h1409.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
s5h1409.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
s5h1411.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
s5h1411.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
s5h1420_priv.h
s5h1420.c [media] s5h1420: Don't use dynamic static allocation 2013-11-08 09:45:38 -02:00
s5h1420.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
s5h1432.c [media] drivers/media/dvb-frontends/s5h1432.c: Removes useless kfree() 2012-10-06 11:13:07 -03:00
s5h1432.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
s921.c [media, edac] Change my email address 2014-02-07 08:03:07 -02:00
s921.h [media, edac] Change my email address 2014-02-07 08:03:07 -02:00
si21xx.c [media] dvb: si21xx: buffer overflow in si21_writeregs() 2014-09-23 16:13:38 -03:00
si21xx.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
si2165_priv.h [media] si2165: Load driver for all hardware revisions 2014-09-23 16:13:33 -03:00
si2165.c [media] si2165: Fix possible leak in si2165_upload_firmware() 2015-04-08 08:12:00 -03:00
si2165.h si2135: Declare the structs even if frontend is not enabled 2014-07-28 10:37:08 -03:00
si2168_priv.h [media] si2168: get rid of own struct i2c_client pointer 2015-01-29 18:40:24 -02:00
si2168.c [media] si2168: add support for 1.7MHz bandwidth 2015-02-03 18:13:12 -02:00
si2168.h [media] si2168: rename few things 2015-01-29 18:41:49 -02:00
sp2_priv.h [media] sp2: Add I2C driver for CIMaX SP2 common interface module 2014-09-02 15:06:49 -03:00
sp2.c [media] sp2: Delete an unnecessary check before the function call "kfree" 2015-04-08 07:36:00 -03:00
sp2.h [media] sp2: Add I2C driver for CIMaX SP2 common interface module 2014-09-02 15:06:49 -03:00
sp887x.c [media] drivers/media: Remove unnecessary semicolon 2012-10-07 09:15:18 -03:00
sp887x.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
sp8870.c [media] sp8870: fix bad alignments 2014-09-03 19:18:08 -03:00
sp8870.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
stb0899_algo.c [media] stb0899: use sign_extend32() for sign extension 2015-02-03 18:16:18 -02:00
stb0899_cfg.h
stb0899_drv.c [media] media: stb0899_drv: use time_after() 2015-01-27 09:55:28 -02:00
stb0899_drv.h [media] stb0899: fix inversion enum values to match usage with CFR 2013-06-08 20:13:29 -03:00
stb0899_priv.h
stb0899_reg.h
stb6000.c
stb6000.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
stb6100_cfg.h [media] Cleanup line > 80 character violations 2014-07-22 21:24:24 -03:00
stb6100_proc.h [media] Remove checks of struct member addresses 2014-07-22 21:23:53 -03:00
stb6100.c [media] stb6100: fix buffer length check in stb6100_write_reg_range() 2014-02-28 15:20:33 -03:00
stb6100.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
stv090x_priv.h
stv090x_reg.h
stv090x.c [media] stv090x: add an extra protetion against buffer overflow 2014-12-04 15:28:46 -02:00
stv090x.h [media] stv090x: Some whitespace cleanups 2014-12-04 14:19:49 -02:00
stv0288.c
stv0288.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
stv0297.c
stv0297.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
stv0299.c [media] dvb-frontends: Replace memcpy with struct assignment 2012-12-27 19:03:15 -02:00
stv0299.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
stv0367_priv.h
stv0367_regs.h
stv0367.c [media] stv0367: Remove an unused parameter 2014-09-22 17:36:53 -03:00
stv0367.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
stv0900_core.c [media] stv0900_core: don't allocate a temporary var 2014-09-03 17:59:13 -03:00
stv0900_init.h
stv0900_priv.h
stv0900_reg.h [media] stv0900: Multistream support 2013-01-06 11:08:44 -02:00
stv0900_sw.c [media] drivers/media/dvb-frontends/stv0900_sw.c: Fix break placement 2014-09-22 16:56:17 -03:00
stv0900.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
stv6110.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:38 -02:00
stv6110.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
stv6110x_priv.h
stv6110x_reg.h
stv6110x.c [media] dvb-frontends: Don't use dynamic static allocation 2013-11-08 09:45:38 -02:00
stv6110x.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
tc90522.c [media] dvb: tc90522: re-add symbol-rate report 2015-02-03 17:16:52 -02:00
tc90522.h [media] tc90522: add driver for Toshiba TC90522 quad demodulator 2014-09-23 17:04:00 -03:00
tda665x.c [media] drivers/media/dvb-frontends/tda665x.c: Removes useless kfree() 2012-10-06 11:14:04 -03:00
tda665x.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
tda826x.c
tda826x.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
tda1002x.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
tda1004x.c tda1004x: Lock I2C bus during firmware load 2012-10-01 07:17:01 -03:00
tda1004x.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
tda8083.c [media] media: Remove unnecessary semicolons 2013-10-17 05:51:57 -03:00
tda8083.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
tda8261_cfg.h [media] Cleanup line > 80 character violations 2014-07-22 21:24:24 -03:00
tda8261.c [media] tda8261: add printk levels 2012-09-18 12:46:27 -03:00
tda8261.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
tda10021.c
tda10023.c
tda10048.c
tda10048.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
tda10071_priv.h [media] tda10071: add missing DVB-S2/PSK-8 FEC AUTO 2014-07-14 21:03:08 -03:00
tda10071.c [media] tda10071: use true/false for boolean vars 2014-09-03 17:59:17 -03:00
tda10071.h [media] tda10071: coding style issues 2014-02-24 10:37:16 -03:00
tda10086.c
tda10086.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
tda18271c2dd_maps.h [media] dvb-frontends: Add static 2014-07-04 15:33:46 -03:00
tda18271c2dd.c [media] dvb-frontends: decimal vs hex typo in ChannelConfiguration() 2014-07-22 21:00:54 -03:00
tda18271c2dd.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
tdhd1.h
ts2020.c [media] ts2020: do not use i2c_transfer() on sleep() 2015-04-02 22:27:32 -03:00
ts2020.h [media] ts2020: add support for TS2022 2015-04-02 22:24:03 -03:00
tua6100.c
tua6100.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
ves1x93.c
ves1x93.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
ves1820.c
ves1820.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
z0194a.h
zl10036.c
zl10036.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
zl10039.c [media] dvb-frontends: use %zu instead of %zd 2014-09-26 06:50:59 -03:00
zl10039.h [media] dvb-frontends: use IS_ENABLED 2013-03-23 09:03:59 -03:00
zl10353_priv.h
zl10353.c
zl10353.h [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00