Thread (3 messages) 3 messages, 2 authors, 2026-02-24

Re: [PATCH] drm/sun4i: backend: fix error pointer dereference

From: Chen-Yu Tsai <wens@kernel.org>
Date: 2026-02-24 17:57:54
Also in: dri-devel, linux-sunxi, lkml

On Mon, 16 Feb 2026 19:48:01 -0600, Ethan Tidmore wrote:
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()

[...]
Applied to drm-misc-next in drm-misc, thanks!

[1/1] drm/sun4i: backend: fix error pointer dereference
      commit: 06277983eca4a31d3c2114fa33d99a6e82484b11

Best regards,
-- 
Chen-Yu Tsai [off-list ref]

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help