linux_dsm_epyc7002/drivers/media/dvb-frontends
Peter Rosin ecb7b0183a [media] m88ds3103: fix undefined division
s32tmp in the below code may be negative, and dev->mclk_khz is an
unsigned type.

	s32tmp = 0x10000 * (tuner_frequency - c->frequency);
	s32tmp = DIV_ROUND_CLOSEST(s32tmp, dev->mclk_khz);

This is undefined, as DIV_ROUND_CLOSEST is undefined for negative
dividends when the divisor is of unsigned type.

So, change mclk_khz to be signed (s32).

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-04-13 19:17:39 -03:00
..
drx39xyj [media] drxj: don't do math if not needed 2016-03-01 10:55:55 -03:00
a8293.c
a8293.h
af9013_priv.h
af9013.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
af9013.h
af9033_priv.h
af9033.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
af9033.h
as102_fe_types.h
as102_fe.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
as102_fe.h
ascot2e.c
ascot2e.h
atbm8830_priv.h
atbm8830.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
atbm8830.h
au8522_common.c [media] au8522: Avoid memory leak for device config data 2015-12-21 17:39:32 -02:00
au8522_decoder.c [media] au0828: use standard demod pads struct 2016-03-03 06:18:17 -03:00
au8522_dig.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
au8522_priv.h [media] au0828: use standard demod pads struct 2016-03-03 06:18:17 -03:00
au8522.h [media] au0828: use standard demod pads struct 2016-03-03 06:18:17 -03:00
bcm3510_priv.h [media] media: change email address 2016-01-25 12:01:08 -02:00
bcm3510.c [media] media: change email address 2016-01-25 12:01:08 -02:00
bcm3510.h [media] media: change email address 2016-01-25 12:01:08 -02:00
bsbe1-d01a.h [media] use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:38:59 -02:00
bsbe1.h [media] use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:38:59 -02:00
bsru6.h [media] use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:38:59 -02:00
cx22700.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
cx22700.h
cx22702.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
cx22702.h
cx24110.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
cx24110.h
cx24113.c
cx24113.h
cx24116.c
cx24116.h
cx24117.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
cx24117.h
cx24120.c [media] cx24120: make sure tuner is locked at get_frontend 2016-03-03 14:26:55 -03:00
cx24120.h
cx24123.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
cx24123.h
cxd2820r_c.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
cxd2820r_core.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
cxd2820r_priv.h [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
cxd2820r_t2.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
cxd2820r_t.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
cxd2820r.h
cxd2841er_priv.h
cxd2841er.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
cxd2841er.h
dib0070.c [media] media: change email address 2016-01-25 12:01:08 -02:00
dib0070.h
dib0090.c [media] dib0090: Do the right check for state->rf_ramp 2016-03-01 11:49:52 -03:00
dib0090.h
dib3000.h [media] media: change email address 2016-01-25 12:01:08 -02:00
dib3000mb_priv.h [media] media: change email address 2016-01-25 12:01:08 -02:00
dib3000mb.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
dib3000mc.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
dib3000mc.h [media] media: change email address 2016-01-25 12:01:08 -02:00
dib7000m.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
dib7000m.h
dib7000p.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
dib7000p.h
dib8000.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
dib8000.h
dib9000.c [media] dib9000: read16/write16 could return an error code 2016-02-23 07:24:17 -03:00
dib9000.h
dibx000_common.c [media] media: change email address 2016-01-25 12:01:08 -02:00
dibx000_common.h
drxd_firm.c
drxd_firm.h
drxd_hard.c [media] drxd: use kzalloc in drxd_attach() 2015-10-03 11:44:32 -03:00
drxd_map_firm.h
drxd.h
drxk_hard.c
drxk_hard.h
drxk_map.h
drxk.h
ds3000.c
ds3000.h
dvb_dummy_fe.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
dvb_dummy_fe.h
dvb-pll.c
dvb-pll.h
ec100.c
ec100.h
eds1547.h
hd29l2_priv.h
hd29l2.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
hd29l2.h
horus3a.c
horus3a.h [media] horus3a: Fix horus3a_attach() function parameters 2015-10-22 15:48:22 -02:00
isl6405.c [media] use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:38:59 -02:00
isl6405.h [media] use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:38:59 -02:00
isl6421.c [media] use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:38:59 -02:00
isl6421.h [media] use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:38:59 -02:00
isl6423.c
isl6423.h
itd1000_priv.h
itd1000.c
itd1000.h
ix2505v.c
ix2505v.h
Kconfig [media] mn88473: move out of staging 2016-03-03 09:16:48 -03:00
l64781.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
l64781.h
lg2160.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
lg2160.h
lgdt330x_priv.h
lgdt330x.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
lgdt330x.h
lgdt3305.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
lgdt3305.h
lgdt3306a.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
lgdt3306a.h
lgs8gl5.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
lgs8gl5.h
lgs8gxx_priv.h
lgs8gxx.c [media] lgs8gxx: don't export get_frontend() callback 2016-02-04 16:27:28 -02:00
lgs8gxx.h
lnbh24.h
lnbh25.c
lnbh25.h [media] lnbh25: Fix lnbh25_attach() function return type 2015-10-22 15:48:22 -02:00
lnbp21.c [media] use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:38:59 -02:00
lnbp21.h [media] use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:38:59 -02:00
lnbp22.c [media] use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:38:59 -02:00
lnbp22.h [media] use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:38:59 -02:00
m88ds3103_priv.h [media] m88ds3103: fix undefined division 2016-04-13 19:17:39 -03:00
m88ds3103.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
m88ds3103.h
m88rs2000.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
m88rs2000.h
Makefile [media] mn88473: move out of staging 2016-03-03 09:16:48 -03:00
mb86a16_priv.h
mb86a16.c
mb86a16.h
mb86a20s.c [media] mb86a20s: get rid of dummy get_frontend() 2016-02-04 16:27:29 -02:00
mb86a20s.h
mn88472.h
mn88473_priv.h [media] mn88473: finalize driver 2016-03-03 09:26:05 -03:00
mn88473.c [media] mn88473: finalize driver 2016-03-03 09:26:05 -03:00
mn88473.h [media] mn88473: finalize driver 2016-03-03 09:26:05 -03:00
mt312_priv.h
mt312.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
mt312.h
mt352_priv.h
mt352.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
mt352.h
nxt200x.c
nxt200x.h
nxt6000_priv.h
nxt6000.c
nxt6000.h
or51132.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
or51132.h
or51211.c
or51211.h
rtl2830_priv.h
rtl2830.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
rtl2830.h
rtl2832_priv.h [media] rtl2832: move stats polling to read status 2016-03-03 09:27:35 -03:00
rtl2832_sdr.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
rtl2832_sdr.h
rtl2832.c [media] rtl2832: move stats polling to read status 2016-03-03 09:27:35 -03:00
rtl2832.h [media] rtl2832: improve slave TS control 2016-03-03 09:26:49 -03:00
s5h1409.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
s5h1409.h
s5h1411.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
s5h1411.h
s5h1420_priv.h
s5h1420.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
s5h1420.h
s5h1432.c
s5h1432.h
s921.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
s921.h
si21xx.c
si21xx.h
si2165_priv.h
si2165.c [media] si2165: Refactoring for si2165_writereg_mask8() 2016-01-25 15:15:38 -02:00
si2165.h
si2168_priv.h
si2168.c [media] si2168: Bounds check firmware 2015-10-22 15:48:25 -02:00
si2168.h
sp2_priv.h
sp2.c
sp2.h
sp887x.c
sp887x.h
sp8870.c
sp8870.h
stb0899_algo.c
stb0899_cfg.h
stb0899_drv.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
stb0899_drv.h
stb0899_priv.h
stb0899_reg.h
stb6000.c
stb6000.h
stb6100_cfg.h [media] stb6100: get rid of get_state()/set_state() 2015-11-17 06:45:05 -02:00
stb6100_proc.h [media] stb6100: get rid of get_state()/set_state() 2015-11-17 06:45:05 -02:00
stb6100.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
stb6100.h [media] stb6100: get rid of tuner_state at struct stb6100_state 2015-11-17 06:41:53 -02:00
stv090x_priv.h
stv090x_reg.h
stv090x.c
stv090x.h
stv0288.c
stv0288.h
stv0297.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
stv0297.h
stv0299.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
stv0299.h
stv0367_priv.h
stv0367_regs.h
stv0367.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
stv0367.h
stv0900_core.c [media] stv0900: avoid going past array 2016-02-23 07:21:42 -03:00
stv0900_init.h
stv0900_priv.h
stv0900_reg.h
stv0900_sw.c
stv0900.h
stv6110.c
stv6110.h
stv6110x_priv.h [media] constify stv6110x_devctl structure 2016-02-01 07:31:17 -02:00
stv6110x_reg.h
stv6110x.c [media] constify stv6110x_devctl structure 2016-02-01 07:31:17 -02:00
stv6110x.h [media] constify stv6110x_devctl structure 2016-02-01 07:31:17 -02:00
tc90522.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
tc90522.h
tda665x.c [media] tda6655: get rid of get_state()/set_state() 2015-11-17 06:44:31 -02:00
tda665x.h
tda826x.c
tda826x.h
tda1002x.h
tda1004x.c Linux 4.5-rc3 2016-02-09 08:56:42 -02:00
tda1004x.h
tda8083.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
tda8083.h
tda8261_cfg.h [media] tda8261: don't use set_state/get_state callbacks 2015-11-17 06:43:59 -02:00
tda8261.c [media] tda8261: don't use set_state/get_state callbacks 2015-11-17 06:43:59 -02:00
tda8261.h
tda10021.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
tda10023.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
tda10048.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
tda10048.h
tda10071_priv.h
tda10071.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
tda10071.h
tda10086.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
tda10086.h
tda18271c2dd_maps.h
tda18271c2dd.c
tda18271c2dd.h
tdhd1.h [media] use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:38:59 -02:00
ts2020.c [media] ts2020: cancel_delayed_work_sync before device removal / kfree 2016-02-01 09:42:30 -02:00
ts2020.h
tua6100.c
tua6100.h
ves1x93.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
ves1x93.h
ves1820.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
ves1820.h
z0194a.h
zl10036.c
zl10036.h
zl10039.c
zl10039.h
zl10353_priv.h
zl10353.c [media] dvb_frontend: pass the props cache to get_frontend() as arg 2016-02-04 16:27:30 -02:00
zl10353.h