aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2022-09-27 09:28:13 +0800
committerHans Verkuil <[email protected]>2022-10-24 19:03:53 +0200
commitf30ce3d3760b22ee33c8d9c2e223764ad30bdc5f (patch)
treec8742dee5823da8d51ef23bc9067e5408289dfed /tools/perf/scripts/python/bin/stackcollapse-record
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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions