linux_dsm_epyc7002/drivers/media
Fabio Estevam 02387b5f25 [media] mantis: Fix error handling in mantis_dma_init()
Current code assigns 0 to variable 'err', which makes mantis_dma_init()
to return success even if mantis_alloc_buffers() fails.

Fix it by checking the return value from mantis_alloc_buffers() and
propagating it in the case of error.

Reported-by: RUC_Soft_Sec <zy900702@163.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-08-19 07:04:55 -03:00
..
common [media] b2c2: Add option to skip the first 6 pid filters 2015-06-09 20:57:56 -03:00
dvb-core [media] dvb-core: prevent some corruption the legacy ioctl 2015-06-10 11:47:56 -03:00
dvb-frontends [media] media/dvb: fix ts2020.c Kconfig and build 2015-07-01 16:31:28 -03:00
firewire [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
i2c [media] s5k5baf: Convert use of __constant_cpu_to_be16 to cpu_to_be16 2015-06-10 11:43:19 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] mantis: Fix error handling in mantis_dma_init() 2015-08-19 07:04:55 -03:00
platform [media] omap3isp: remove unused var 2015-06-24 08:38:29 -03:00
radio [media] si470x: cleanup define namespace 2015-06-22 15:25:31 -03:00
rc Revert "[media] rc: rc-ir-raw: Add scancode encoder callback" 2015-08-19 07:04:49 -03:00
tuners [media] tuner-i2c: be consistent with I2C declaration 2015-06-23 10:01:45 -03:00
usb [media] lmedm04: fix the range for relative measurements 2015-06-24 08:38:30 -03:00
v4l2-core [media] vb2: Fix compilation breakage when !CONFIG_BUG 2015-08-10 08:08:11 -03:00
Kconfig media controller: add EXPERIMENTAL to Kconfig option for DVB support 2015-05-08 14:48:49 -03:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
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: Fix a compiler warning in media_entity_pipeline_start() 2014-11-03 19:09:13 -02:00