Re: [PATCH 1/5] drm/panel: have drm_panel_add/remove manage a list reference
From: Maxime Ripard
Date: Fri Jun 26 2026 - 08:47:53 EST
On Fri, 26 Jun 2026 14:03:23 +0200, Albert Esteve wrote:
> The global panel_list holds raw pointers to drm_panel objects.
> Nothing prevents a panel from being freed while it is still linked
> in the list: if a driver's probe calls drm_panel_add() and then
> fails at a later step, panel->list remains in panel_list. Any
> subsequent call to of_drm_find_panel() that iterates the list will
>
> [ ... ]
Reviewed-by: Maxime Ripard <mripard@xxxxxxxxxx>
Thanks!
Maxime