diff options
| author | Claudiu Beznea <[email protected]> | 2023-05-31 10:28:54 +0300 |
|---|---|---|
| committer | Raphael Gallais-Pou <[email protected]> | 2024-07-15 10:21:23 +0200 |
| commit | fd39730c58890cd7f0a594231e19bb357f28877c (patch) | |
| tree | 1f0c5af5f574877fd82564ff7fb9bf504de500f0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 3ac9384061b250ee40eda5facff10b85e2d5d3d8 (diff) | |
drm/stm: ltdc: check memory returned by devm_kzalloc()
devm_kzalloc() can fail and return NULL pointer. Check its return status.
Identified with Coccinelle (kmerr.cocci script).
Fixes: 484e72d3146b ("drm/stm: ltdc: add support of ycbcr pixel formats")
Signed-off-by: Claudiu Beznea <[email protected]>
Acked-by: Raphael Gallais-Pou <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Raphael Gallais-Pou <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions