On Fri, Mar 27, 2026 at 10:18 AM Chen Ni <[email protected]> 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.
>
> Fixes: a7c61963b727 ("drm/panel: Add Himax HX83121A panel driver")
> Signed-off-by: Chen Ni <[email protected]>

Reviewed-by: Pengyu Luo <[email protected]>

--
Best wishes,
Pengyu

Reply via email to