diff options
| author | Jiasheng Jiang <[email protected]> | 2021-12-15 06:21:57 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-01-23 21:18:42 +0100 |
| commit | e25a89f743b18c029bfbe5e1663ae0c7190912b0 (patch) | |
| tree | 4d2115f9e3e525455a9b2c98dc0c482c958e62c1 /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | 8310ca94075e784bbb06593cd6c068ee6b6e4ca6 (diff) | |
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 <[email protected]>
Reviewed-by: Tzung-Bi Shih <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions