linux_dsm_epyc7002/drivers/media/platform/coda
Philipp Zabel 649cfc2bdf media: coda: fix memory corruption in case more than 32 instances are opened
The ffz() return value is undefined if the instance mask does not
contain any zeros. If it returned 32, the following set_bit would
corrupt the debugfs_root pointer.
Switch to IDA for context index allocation. This also removes the
artificial 32 instance limit for all except CodaDx6.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-11-23 05:19:39 -05:00
..
coda_regs.h media: coda: jpeg: explicitly disable thumbnails in SEQ_INIT 2018-07-04 08:29:31 -04:00
coda-bit.c media: coda: add SPS fixup code for frame sizes that are not multiples of 16 2018-07-27 06:58:54 -04:00
coda-common.c media: coda: fix memory corruption in case more than 32 instances are opened 2018-11-23 05:19:39 -05:00
coda-gdi.c [media] coda: add macroblock tiling support 2015-07-17 11:28:59 -03:00
coda-h264.c media: coda: add SPS fixup code for frame sizes that are not multiples of 16 2018-07-27 06:58:54 -04:00
coda-jpeg.c [media] coda: relax coda_jpeg_check_buffer for trailing bytes 2015-12-23 14:02:14 -02:00
coda.h media: coda: fix memory corruption in case more than 32 instances are opened 2018-11-23 05:19:39 -05:00
imx-vdoa.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
imx-vdoa.h [media] coda: add i.MX6 VDOA driver 2017-01-31 08:10:18 -02:00
Makefile [media] coda: add i.MX6 VDOA driver 2017-01-31 08:10:18 -02:00
trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00