diff options
| author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2021-12-15 06:21:57 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-01-23 21:18:42 +0100 |
| commit | e25a89f743b18c029bfbe5e1663ae0c7190912b0 (patch) | |
| tree | 4d2115f9e3e525455a9b2c98dc0c482c958e62c1 /tools/perf/scripts/python/bin | |
| parent | 8310ca94075e784bbb06593cd6c068ee6b6e4ca6 (diff) | |
| download | linux-e25a89f743b18c029bfbe5e1663ae0c7190912b0.tar.gz linux-e25a89f743b18c029bfbe5e1663ae0c7190912b0.zip | |
media: mtk-vcodec: potential dereference of null pointer
The return value of devm_kzalloc() needs to be checked.
To avoid use of null pointer in case of thefailure of alloc.
Fixes: 46233e91fa24 ("media: mtk-vcodec: move firmware implementations into their own files")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Tzung-Bi Shih <tzungbi@google.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
