Hi,

On Fri, 27 Mar 2026 10:17:28 +0800, Chen Ni wrote:
> Check devm_drm_panel_alloc() return value for ERR_PTR instead of NULL.
> devm_drm_panel_alloc() returns an ERR_PTR on failure, never NULL. Using
> a NULL check skips the error path and may cause a NULL pointer
> dereference.

Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git 
(drm-misc-fixes)

[1/1] drm/panel: himax-hx83121a: Fix incorrect error check for 
devm_drm_panel_alloc()
      
https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/50987d4e6c55929aa2d4d3976e74ccbae22d5017

-- 
Neil

Reply via email to