linux/drivers/media
Mauro Carvalho Chehab 3be8037960 media: vidtv: add error checks
Currently, there are not checks if something gets bad during
memory allocation: it will simply use NULL pointers and
crash.

Add error path at the logic which allocates memory for the
MPEG-TS generator code, propagating the errors up to the
vidtv_bridge. Now, if something wents bad, start_streaming
will return an error that userspace can detect:

	ERROR    DMX_SET_PES_FILTER failed (PID = 0x2000): 12 Cannot allocate memory

and the driver doesn't crash.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-11-26 07:43:40 +01:00
..
cec Linux 5.9-rc7 2020-10-04 12:19:12 +02:00
common Linux 5.9-rc7 2020-10-04 12:19:12 +02:00
dvb-core media fixes for v5.9-rc7 2020-09-24 09:05:04 -07:00
dvb-frontends media: dvb-frontends/drxk_hard.c: fix uninitialized variable warning 2020-10-08 14:15:14 +02:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: tvp7002: fix uninitialized variable warning 2020-10-08 14:13:59 +02:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: netup_unidvb: drop initialization of PM pointers 2020-09-27 11:24:28 +02:00
platform media: venus: pm_helpers: Fix kernel module reload 2020-11-16 19:06:10 +01:00
radio Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
rc media: rc: gpio-ir-recv: add QoS support for cpuidle system 2020-09-27 11:27:23 +02:00
spi
test-drivers media: vidtv: add error checks 2020-11-26 07:43:40 +01:00
tuners Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
usb media: usbtv: Fix refcounting mixup 2020-10-08 09:08:20 +02:00
v4l2-core media: v4l2-mem2mem: Fix spurious v4l2_m2m_buf_done 2020-10-08 09:08:53 +02:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00