OpenCloudOS-Kernel/drivers/media/platform/chips-media
Jiasheng Jiang 6e5e5defdb media: coda: Add check for kmalloc
As the kmalloc may return NULL pointer,
it should be better to check the return value
in order to avoid NULL poineter dereference,
same as the others.

Fixes: cb1d3a3363 ("[media] coda: add CODA7541 JPEG support")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2022-12-07 17:58:47 +01:00
..
Kconfig media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Makefile
coda-bit.c media: coda: Add check for kmalloc 2022-12-07 17:58:47 +01:00
coda-common.c media: coda: limit frame interval enumeration to supported encoder frame sizes 2022-05-13 11:02:20 +02:00
coda-gdi.c
coda-h264.c
coda-jpeg.c media: coda: jpeg: Add check for kmalloc 2022-10-24 19:03:53 +02:00
coda-mpeg2.c
coda-mpeg4.c
coda.h media: coda: add JPEG downscale support 2022-04-24 08:46:27 +01:00
coda_regs.h
imx-vdoa.c
imx-vdoa.h
trace.h