diff options
| author | Jiasheng Jiang <[email protected]> | 2022-09-27 09:28:13 +0800 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2022-10-24 19:03:53 +0200 |
| commit | f30ce3d3760b22ee33c8d9c2e223764ad30bdc5f (patch) | |
| tree | c8742dee5823da8d51ef23bc9067e5408289dfed /tools/perf/scripts/python/stackcollapse.py | |
| parent | b6bcdf763db1f5ea602bf876cfe91debfb3c7773 (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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions