[PATCH] drm/sun4i: backend: fix error pointer dereference
Chen-Yu Tsai
wens at kernel.org
Tue Feb 24 09:57:51 PST 2026
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 <wens at kernel.org>
More information about the linux-arm-kernel
mailing list