linux_dsm_epyc7002/drivers/media/dvb/frontends
Mauro Carvalho Chehab 469ffe0836 [media] tda18271c2dd: Remove the CHK_ERROR macro
The CHK_ERROR macro does a flow control, violating chapter 12
of the Documentation/CodingStyle. Doing flow controls inside
macros is a bad idea, as it hides what's happening. It also
hides the var "status" with is also a bad idea.

The changes were done by this small perl script:
	my $blk=0;
	while (<>) {
		s/^\s+// if ($blk);
		$f =~ s/\s+$// if ($blk && /^\(/);
		$blk = 1 if (!m/\#/ && m/CHK_ERROR/);
		$blk=0 if ($blk && m/\;/);
		s/\n/ / if ($blk);
		$f.=$_;
	};
	$f=~ s,\n(\t+)CHK_ERROR\((.*)\)\;([^\n]*),\n\1status = \2;\3\n\1if (status < 0)\n\1\tbreak;,g;

	print $f;

And manually fixed.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-07-27 17:55:44 -03:00
..
af9013_priv.h [media] af9013: optimize code size 2010-10-21 01:17:54 -02:00
af9013.c [media] af9013: reimplement firmware download 2011-03-22 04:55:02 -03:00
af9013.h V4L/DVB: af9013: add support for MaxLinear MxL5007T tuner 2010-10-21 01:05:51 -02:00
atbm8830_priv.h V4L/DVB: Fix bad whitespacing 2010-05-18 00:47:01 -03:00
atbm8830.c [media] drivers/media: Removed unnecessary KERN_<level>s from dprintk uses 2010-12-29 08:16:29 -02:00
atbm8830.h Fix common misspellings 2011-03-31 11:26:23 -03:00
au8522_decoder.c [media] au8522: Handle differences in comb filter config for s-video input 2010-12-29 08:16:34 -02:00
au8522_dig.c Fix common misspellings 2011-03-31 11:26:23 -03:00
au8522_priv.h [media] au8522: Handle differences in comb filter config for s-video input 2010-12-29 08:16:34 -02:00
au8522.h V4L/DVB (11065): au8522: add support for analog side of demodulator 2009-03-30 12:43:25 -03:00
bcm3510_priv.h
bcm3510.c Fix common misspellings 2011-03-31 11:26:23 -03:00
bcm3510.h
bsbe1-d01a.h [media] budget-ci: Add support for TT S-1500 with BSBE1-D01A tuner 2011-05-20 09:28:30 -03:00
bsbe1.h
bsru6.h [media] STV0299 Register 02 on Opera1/Bsru6/z0194a/mantis_vp1033 2011-05-20 09:29:48 -03:00
cx22700.c Fix common misspellings 2011-03-31 11:26:23 -03:00
cx22700.h
cx22702.c Fix common misspellings 2011-03-31 11:26:23 -03:00
cx22702.h
cx24110.c Fix common misspellings 2011-03-31 11:26:23 -03:00
cx24110.h
cx24113.c [media] cx24113: Don't reuse core macro names 2011-07-27 17:52:22 -03:00
cx24113.h Fix common misspellings 2011-03-31 11:26:23 -03:00
cx24116.c [media] dvb: remove unnecessary code 2011-07-27 17:53:09 -03:00
cx24116.h [media] cx24116: add config option to split firmware download 2011-05-20 09:30:00 -03:00
cx24123.c Fix common misspellings 2011-03-31 11:26:23 -03:00
cx24123.h
cxd2820r_c.c [media] cxd2820r: make C, T, T2 and core components as linked objects 2011-05-20 09:30:13 -03:00
cxd2820r_core.c [media] cxd2820r: correct missing error checks 2011-07-27 17:52:17 -03:00
cxd2820r_priv.h [media] cxd2820r: fix bitfields 2011-07-27 17:52:10 -03:00
cxd2820r_t2.c [media] cxd2820r: make C, T, T2 and core components as linked objects 2011-05-20 09:30:13 -03:00
cxd2820r_t.c [media] cxd2820r: make C, T, T2 and core components as linked objects 2011-05-20 09:30:13 -03:00
cxd2820r.h [media] cxd2820r: fix bitfields 2011-07-27 17:52:10 -03:00
dib0070.c [media] DiBxxxx: get rid of DMA buffer on stack 2011-05-20 09:30:52 -03:00
dib0070.h V4L/DVB (13583): DiB8090: Add the DiB0090 tuner driver and STK8096GP-board 2009-12-16 00:18:16 -02:00
dib0090.c [media] DiBxxxx: get rid of DMA buffer on stack 2011-05-20 09:30:52 -03:00
dib0090.h [media] DiB0090: misc improvements 2011-03-21 20:31:41 -03:00
dib3000.h
dib3000mb_priv.h V4L/DVB: remove obsolete conditionalizing on DVB_DIBCOM_DEBUG 2010-08-02 16:42:46 -03:00
dib3000mb.c V4L/DVB: remove obsolete conditionalizing on DVB_DIBCOM_DEBUG 2010-08-02 16:42:46 -03:00
dib3000mc.c V4L/DVB: "dib3000mc: reduce large stack usage" fix 2010-08-02 16:42:59 -03:00
dib3000mc.h V4L/DVB (10903): cleanup linewraps in dib3000mc.h 2009-03-30 12:43:14 -03:00
dib7000m.c [media] DiBxxxx: get rid of DMA buffer on stack 2011-05-20 09:30:52 -03:00
dib7000m.h [media] DiB7000M: add pid filtering 2011-03-02 13:45:12 -03:00
dib7000p.c [media] dib7000p: setup dev.parent for i2c master built into 7000p 2011-07-27 17:52:28 -03:00
dib7000p.h [media] DiBxxxx: Codingstype updates 2011-03-21 20:31:43 -03:00
dib8000.c [media] DiBxxxx: get rid of DMA buffer on stack 2011-05-20 09:30:52 -03:00
dib8000.h [media] DiBxxxx: Codingstype updates 2011-03-21 20:31:43 -03:00
dib9000.c [media] DiBxxxx: get rid of DMA buffer on stack 2011-05-20 09:30:52 -03:00
dib9000.h [media] DiBxxxx: Codingstype updates 2011-03-21 20:31:43 -03:00
dibx000_common.c [media] DiBxxxx: get rid of DMA buffer on stack 2011-05-20 09:30:52 -03:00
dibx000_common.h [media] DiBxxxx: get rid of DMA buffer on stack 2011-05-20 09:30:52 -03:00
drxd_firm.c [media] drxd: Fix some CodingStyle issues 2011-05-20 07:26:25 -03:00
drxd_firm.h [media] drxd: don't re-define u8/u16/u32 types 2011-05-20 07:26:25 -03:00
drxd_hard.c [media] drxd/drxk: Don't export MulDiv32 symbol 2011-07-27 17:55:44 -03:00
drxd_map_firm.h [media] drxd_map_firm.h: Remove unused lines 2011-05-20 07:26:25 -03:00
drxd.h [media] drxd: Fix some CodingStyle issues 2011-05-20 07:26:25 -03:00
drxk_hard.c [media] drxk: Remove the CHK_ERROR macro 2011-07-27 17:55:44 -03:00
drxk_hard.h [media] DRX-K: Tons of coding-style fixes 2011-07-27 17:55:41 -03:00
drxk_map.h [media] DRX-K: Shrink size of drxk_map.h 2011-07-27 17:55:41 -03:00
drxk.h [media] DRX-K: Initial check-in 2011-07-27 17:55:41 -03:00
ds3000.c [media] ds3000: wrong hardware tune function implemented 2011-03-21 20:32:40 -03:00
ds3000.h [media] cx88: add support for TeVii S464 PCI card 2011-03-21 20:32:27 -03:00
dvb_dummy_fe.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
dvb_dummy_fe.h V4L/DVB (11111): dvb_dummy_fe: Fix compilation breakage 2009-03-30 12:43:29 -03:00
dvb-pll.c [media] dvb_pll: DVB-S incorrect tune settings for dw2102/dm1105/cx88/opera1 2011-03-21 20:32:21 -03:00
dvb-pll.h V4L/DVB (12290): dvb-pll: Add support for Alps TDEE4 DVB-C NIM 2009-09-12 12:17:50 -03:00
ec100_priv.h V4L/DVB (13363): ec100: add new driver for E3C EC100 DVB-T demodulator 2009-12-05 18:41:32 -02:00
ec100.c V4L/DVB (13363): ec100: add new driver for E3C EC100 DVB-T demodulator 2009-12-05 18:41:32 -02:00
ec100.h V4L/DVB (13363): ec100: add new driver for E3C EC100 DVB-T demodulator 2009-12-05 18:41:32 -02:00
eds1547.h [media] STV0288 Register 42 - Incorrect settings 2011-05-20 09:28:35 -03:00
isl6405.c
isl6405.h
isl6421.c
isl6421.h
isl6423.c V4L/DVB (11583): isl6423: Various fixes to use external modulation 2009-06-16 18:20:38 -03:00
isl6423.h V4L/DVB (11579): Initial go at TT S2-1600 2009-06-16 18:20:37 -03:00
itd1000_priv.h V4L/DVB (11284): Fix i2c code of flexcop-driver for rare revisions 2009-03-30 12:43:47 -03:00
itd1000.c [media] itd1000: Don't reuse core macro names 2011-07-27 17:52:21 -03:00
itd1000.h
ix2505v.c [media] IX2505V Keep I2C gate control alive 2011-05-20 09:29:25 -03:00
ix2505v.h V4L/DVB: Support for Sharp IX2505V (marked B0017) DVB-S silicon tuner 2010-10-21 01:04:53 -02:00
Kconfig [media] DRX-K, TDA18271c2: Add build support 2011-07-27 17:55:41 -03:00
l64781.c V4L/DVB: dvb: l64781.ko broken with gcc 4.5 2010-02-19 03:19:01 -02:00
l64781.h
lgdt330x_priv.h
lgdt330x.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
lgdt330x.h
lgdt3305.c V4L/DVB: lgdt3305: enable FE_HAS_SIGNAL hack for the lgdt3304 in QAM mode 2010-08-02 14:47:41 -03:00
lgdt3305.h V4L/DVB: lgdt3305: update copyright date and MODULE_VERSION 2010-08-02 14:47:19 -03:00
lgs8gl5.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
lgs8gl5.h
lgs8gxx_priv.h V4L/DVB (12271): lgs8gxx: add lgs8g75 support 2009-09-12 12:17:38 -03:00
lgs8gxx.c [media] drivers/media: Removed unnecessary KERN_<level>s from dprintk uses 2010-12-29 08:16:29 -02:00
lgs8gxx.h V4L/DVB (12271): lgs8gxx: add lgs8g75 support 2009-09-12 12:17:38 -03:00
lnbh24.h V4L/DVB (10800): Add support for ST LNBH24 LNB power controller. 2009-03-30 12:43:04 -03:00
lnbp21.c V4L/DVB: 22-kHz set_tone fix for NetUP Dual DVB-S2-CI card. 22kHz logic controlled by demod 2010-02-26 15:10:41 -03:00
lnbp21.h V4L/DVB (10800): Add support for ST LNBH24 LNB power controller. 2009-03-30 12:43:04 -03:00
Makefile [media] DRX-K, TDA18271c2: Add build support 2011-07-27 17:55:41 -03:00
mb86a16_priv.h V4L/DVB (13811): [MB86A16] Update Copyright header 2010-01-17 11:55:45 -02:00
mb86a16.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mb86a16.h V4L/DVB (13811): [MB86A16] Update Copyright header 2010-01-17 11:55:45 -02:00
mb86a20s.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mb86a20s.h [media] mb86a20s: add support for serial streams 2010-12-29 08:16:28 -02:00
mt312_priv.h
mt312.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mt312.h
mt352_priv.h
mt352.c V4L/DVB: drivers/media: Make static data tables and strings const 2010-10-21 01:04:52 -02:00
mt352.h V4L/DVB: drivers/media: Make static data tables and strings const 2010-10-21 01:04:52 -02:00
nxt200x.c V4L/DVB (11723): Link firmware to physical device 2009-06-16 18:20:56 -03:00
nxt200x.h
nxt6000_priv.h
nxt6000.c [media] nxt6000: i2c bus error should return -EIO 2011-07-27 17:53:37 -03:00
nxt6000.h
or51132.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
or51132.h
or51211.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
or51211.h
s5h1409.c V4L/DVB (13332): s5h1409: remove a set register that would cause lock to be lost. 2009-12-05 18:41:23 -02:00
s5h1409.h V4L/DVB (13329): s5h1409: provide HVR-1600 specific optimizations 2009-12-05 18:41:22 -02:00
s5h1411.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
s5h1411.h
s5h1420_priv.h
s5h1420.c [media] frontends/s5h1420: Change: clock_settting to clock_setting 2011-07-27 17:53:05 -03:00
s5h1420.h
s5h1432.c [media] CodingStyle cleanup at s5h1432 and cx231xx 2010-10-21 01:17:45 -02:00
s5h1432.h [media] CodingStyle cleanup at s5h1432 and cx231xx 2010-10-21 01:17:45 -02:00
s921.c [media] Re-write the s921 frontend 2010-12-29 08:16:26 -02:00
s921.h [media] Re-write the s921 frontend 2010-12-29 08:16:26 -02:00
si21xx.c V4L/DVB: drivers/media: Make static data tables and strings const 2010-10-21 01:04:52 -02:00
si21xx.h
sp887x.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
sp887x.h
sp8870.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
sp8870.h
stb0899_algo.c [media] Inlined functions should be static 2011-05-25 21:42:26 -03:00
stb0899_cfg.h V4L/DVB (9450): Code Review: #4 Consolidate configurations 2008-12-29 17:53:22 -02:00
stb0899_drv.c [media] stb0899: fix diseqc messages getting lost 2010-12-29 08:16:49 -02:00
stb0899_drv.h V4L/DVB (9462): Allow specifying clock per device 2008-12-29 17:53:23 -02:00
stb0899_priv.h V4L/DVB (10975): Bug: Use signed types, Offsets and range can be negative 2009-03-13 13:19:16 -03:00
stb0899_reg.h V4L/DVB (9468): Miscellaneous fixes 2008-12-29 17:53:24 -02:00
stb6000.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
stb6000.h
stb6100_cfg.h V4L/DVB (11248): Remove debug output from stb6100_cfg.h 2009-03-30 12:43:43 -03:00
stb6100_proc.h V4L/DVB (13407): Add Prof 7301 PCI DVB-S2 card 2009-12-05 18:41:43 -02:00
stb6100.c Fix common misspellings 2011-03-31 11:26:23 -03:00
stb6100.h V4L/DVB: drivers/media: Make static data tables and strings const 2010-10-21 01:04:52 -02:00
stv090x_priv.h V4L/DVB (13976): [STV090x] Added mutex protection around tuner I2C access. 2010-02-26 15:10:36 -03:00
stv090x_reg.h [media] stv090x: Fixed typos in register macros 2011-03-21 20:31:45 -03:00
stv090x.c Fix common misspellings 2011-03-31 11:26:23 -03:00
stv090x.h [media] stv090x: Optional external lock routine 2011-03-21 20:31:44 -03:00
stv0288.c [media] STV0288 Register 42 - Incorrect settings 2011-05-20 09:28:35 -03:00
stv0288.h
stv0297.c Fix common misspellings 2011-03-31 11:26:23 -03:00
stv0297.h
stv0299.c [media] STV0299 incorrect standby setting issues register 02 (MCR) 2011-05-20 09:29:46 -03:00
stv0299.h V4L/DVB: drivers/media: Make static data tables and strings const 2010-10-21 01:04:52 -02:00
stv0367_priv.h [media] Support for stv0367 multi-standard demodulator 2011-03-21 20:32:17 -03:00
stv0367_regs.h [media] Support for stv0367 multi-standard demodulator 2011-03-21 20:32:17 -03:00
stv0367.c Fix common misspellings 2011-03-31 11:26:23 -03:00
stv0367.h [media] Initial commit to support NetUP Dual DVB-T/C CI RF card 2011-03-21 20:32:18 -03:00
stv0900_core.c [media] stv0900: Update status when LOCK is missed 2011-03-21 20:32:40 -03:00
stv0900_init.h V4L/DVB (13338): stv0900: big rework to support cut 3.0. 2009-12-05 18:41:25 -02:00
stv0900_priv.h Fix common misspellings 2011-03-31 11:26:23 -03:00
stv0900_reg.h V4L/DVB (13818): Add Prof 7500 DVB-S2 USB card 2010-02-26 15:10:24 -03:00
stv0900_sw.c V4L/DVB: STV0900 Cut 3.0 AGC2 fix for NetUP Dual DVB-S2-CI card 2010-02-26 15:10:56 -03:00
stv0900.h [media] dw2102: Prof 7500: Lock LED implemented 2011-03-21 20:32:26 -03:00
stv6110.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
stv6110.h V4L/DVB (13334): stv6110: add configurable gain 2009-12-05 18:41:23 -02:00
stv6110x_priv.h V4L/DVB (13981): [STV6110x] Add a local register map for each instance of the driver. 2010-02-26 15:10:36 -03:00
stv6110x_reg.h V4L/DVB (11579): Initial go at TT S2-1600 2009-06-16 18:20:37 -03:00
stv6110x.c V4L/DVB: stv6110x: Fix kernel null pointer deref 2010-06-01 01:21:50 -03:00
stv6110x.h V4L/DVB: [STV090x, STV6110x] Use tuner sleep within the demodulator control 2010-05-18 00:46:47 -03:00
tda665x.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tda665x.h V4L/DVB (13809): Fix Checkpatch violations 2010-01-17 11:55:44 -02:00
tda826x.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tda826x.h
tda1002x.h
tda1004x.c V4L/DVB: drivers/media: Make static data tables and strings const 2010-10-21 01:04:52 -02:00
tda1004x.h
tda8083.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
tda8083.h
tda8261_cfg.h V4L/DVB (9450): Code Review: #4 Consolidate configurations 2008-12-29 17:53:22 -02:00
tda8261.c [media] Remove invalid parameter description 2011-05-25 21:42:23 -03:00
tda8261.h V4L/DVB (9450): Code Review: #4 Consolidate configurations 2008-12-29 17:53:22 -02:00
tda10021.c V4L/DVB (13791): [TDA10021] Do not claim TDA10023 2010-01-17 11:55:42 -02:00
tda10023.c
tda10048.c V4L/DVB: tda10048: clear the uncorrected packet registers when saturated 2010-08-02 15:35:39 -03:00
tda10048.h V4L/DVB (11854): TDA10048: Ensure the I/F changes during DVB-T 6/7/8 bandwidth changes. 2009-06-16 18:21:13 -03:00
tda10086.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
tda10086.h
tda18271c2dd_maps.h [media] tda18271c2dd: Lots of coding-style fixes 2011-07-27 17:55:40 -03:00
tda18271c2dd.c [media] tda18271c2dd: Remove the CHK_ERROR macro 2011-07-27 17:55:44 -03:00
tda18271c2dd.h [media] tda18271c2dd: Initial check-in 2011-07-27 17:55:40 -03:00
tdhd1.h
tua6100.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tua6100.h
ves1x93.c V4L/DVB (12440): Use kzalloc for frontend states to have struct dvb_frontend properly 2009-08-13 20:39:14 -03:00
ves1x93.h
ves1820.c V4L/DVB (12483): Use DIV_ROUND_CLOSEST 2009-09-12 12:19:08 -03:00
ves1820.h
z0194a.h [media] STV0299 Register 02 on Opera1/Bsru6/z0194a/mantis_vp1033 2011-05-20 09:29:48 -03:00
zl10036.c [media] Zarlink zl10036 DVB-S: Fix mem leak in zl10036_attach 2011-03-22 06:51:55 -03:00
zl10036.h V4L/DVB (10822): Add support for Zarlink ZL10036 DVB-S tuner. 2009-03-30 12:43:06 -03:00
zl10039.c V4L/DVB (13965): zl10039, jump to error on error 2010-02-26 15:10:35 -03:00
zl10039.h V4L/DVB (12461): Add ce5039(zl10039) tuner support. 2009-09-12 12:18:55 -03:00
zl10353_priv.h V4L/DVB (11215): zl10353: add support for Intel CE6230 and Intel CE6231 2009-03-30 12:43:40 -03:00
zl10353.c V4L/DVB: drivers/media: Make static data tables and strings const 2010-10-21 01:04:52 -02:00
zl10353.h V4L/DVB (11215): zl10353: add support for Intel CE6230 and Intel CE6231 2009-03-30 12:43:40 -03:00