summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorEthan Tidmore <ethantidmore06@gmail.com>2026-02-17 04:48:01 +0300
committerChen-Yu Tsai <wens@kernel.org>2026-02-24 20:52:42 +0300
commit06277983eca4a31d3c2114fa33d99a6e82484b11 (patch)
treef6dd2efabc507fd8b4730a139e4ec5bf1c944b5f /include/linux/debugobjects.h
parent744629904c68bde847c31819f23482d09152f810 (diff)
downloadlinux-06277983eca4a31d3c2114fa33d99a6e82484b11.tar.xz
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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions