summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2022-09-27 09:28:13 +0800
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2022-10-24 19:03:53 +0200
commitf30ce3d3760b22ee33c8d9c2e223764ad30bdc5f (patch)
treec8742dee5823da8d51ef23bc9067e5408289dfed /include/uapi/linux
parentb6bcdf763db1f5ea602bf876cfe91debfb3c7773 (diff)
media: coda: jpeg: Add check for kmalloc
As kmalloc can return NULL pointer, it should be better to check the return value and return error, same as coda_jpeg_decode_header. Fixes: 96f6f62c4656 ("media: coda: jpeg: add CODA960 JPEG encoder support") Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions