diff options
| author | Chen Zhou <chenzhou10@huawei.com> | 2020-05-09 04:07:11 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-04 11:56:37 +0200 |
| commit | 20171723144ca0d057b72e852536992fd371369a (patch) | |
| tree | 93028fcfaf098d525d67b8a5e96eaa0c419062de /tools/perf/scripts/python/bin/export-to-sqlite-record | |
| parent | 6fce59ac719f9adeeed2556ed74e23a607f931e8 (diff) | |
| download | linux-20171723144ca0d057b72e852536992fd371369a.tar.gz linux-20171723144ca0d057b72e852536992fd371369a.zip | |
media: coda: jpeg: add NULL check after kmalloc
Fixes coccicheck warning:
./drivers/media/platform/coda/coda-jpeg.c:331:3-31:
alloc with no test, possible model on line 354
Add NULL check after kmalloc.
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-record')
0 files changed, 0 insertions, 0 deletions
