diff options
| author | Ethan Tidmore <ethantidmore06@gmail.com> | 2026-02-16 19:48:01 -0600 |
|---|---|---|
| committer | Chen-Yu Tsai <wens@kernel.org> | 2026-02-25 01:52:42 +0800 |
| commit | 06277983eca4a31d3c2114fa33d99a6e82484b11 (patch) | |
| tree | f6dd2efabc507fd8b4730a139e4ec5bf1c944b5f /tools/perf/scripts/python/task-analyzer.py | |
| parent | 744629904c68bde847c31819f23482d09152f810 (diff) | |
drm/sun4i: backend: fix error pointer dereference
The function drm_atomic_get_plane_state() can return an error pointer
and is not checked for it. Add error pointer check.
Detected by Smatch:
drivers/gpu/drm/sun4i/sun4i_backend.c:496 sun4i_backend_atomic_check() error:
'plane_state' dereferencing possible ERR_PTR()
Fixes: 96180dde23b79 ("drm/sun4i: backend: Add a custom atomic_check for the frontend")
Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
Reviewed-by: Chen-Yu Tsai <wens@kernel.org>
Link: https://patch.msgid.link/20260217014801.60760-1-ethantidmore06@gmail.com
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
