linux/drivers/media
Mauro Carvalho Chehab ed3da2bf2e [media] cx23885-dvb: Fix some issues at the DVB error handling
X-Patchwork-Delegate: m.chehab@samsung.com
As pointed by smatch:
	drivers/media/pci/cx23885/cx23885-dvb.c:1066 dvb_register() error: we previously assumed 'fe0->dvb.frontend' could be null (see line 1060)
	drivers/media/pci/cx23885/cx23885-dvb.c:1990 cx23885_dvb_register() error: we previously assumed 'fe0' could be null (see line 1975)

What happens is that the error handling logic when a frontend
register fails sometimes keep doing the work, as if it didn't
fail.

This could potentially cause an OOPS. So, simplify the logic
a little bit and return an error if frontend fails before
trying to setup VB2 queue.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-11-03 16:21:29 -02:00
..
common [media] tveeprom: Update list of chips and extend serial number to 32bits 2014-11-03 16:18:49 -02:00
dvb-core [media] media: dvb_core: replace a magic number by a macro 2014-11-03 12:50:08 -02:00
dvb-frontends [media] stv090x: remove indent levels in stv090x_get_coldlock() 2014-11-03 14:53:14 -02:00
firewire [media] fix a warning on avr32 arch 2014-11-03 15:53:15 -02:00
i2c [media] cx25840: convert max_buf_size var to lowercase 2014-11-03 15:56:49 -02:00
mmc
parport [media] pms: Fix a bad usage of the stack 2014-09-26 06:47:55 -03:00
pci [media] cx23885-dvb: Fix some issues at the DVB error handling 2014-11-03 16:21:29 -02:00
platform [media] ti-fpe: LLVMLinux: Remove nested function from ti-vpe 2014-10-30 10:46:17 -02:00
radio [media] wl128x: fix fmdbg compiler warning 2014-10-24 09:27:34 -02:00
rc [media] rc: port IgorPlug-USB to rc-core 2014-11-03 12:18:25 -02:00
tuners [media] xc5000: add IF output level control 2014-11-03 12:24:52 -02:00
usb [media] cx231xx: Improve the log message 2014-11-03 15:59:59 -02:00
v4l2-core [media] V4L2: fix VIDIOC_CREATE_BUFS 32-bit compatibility mode data copy-back 2014-11-03 15:11:59 -02:00
Kconfig [media] Kconfig: do not select SPI bus on sub-driver auto-select 2014-09-04 12:18:49 -03:00
Makefile
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Print information on failed link validation 2014-11-03 12:45:58 -02:00