Re: [PATCH] drm/pl111: Fix error handling in pl111_amba_probe
From: Linus Walleij
Date: Wed Dec 31 2025 - 16:45:51 EST
On Thu, Dec 11, 2025 at 1:34 PM Miaoqian Lin <linmq006@xxxxxxxxx> wrote:
> Jump to the existing dev_put label when devm_request_irq() fails
> so drm_dev_put() and of_reserved_mem_device_release() run
> instead of returning early and leaking resources.
>
> Found via static analysis and code review.
>
> Fixes: bed41005e617 ("drm/pl111: Initial drm/kms driver for pl111")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>
Patch applied to drm-misc-fixes, thanks for fixing this
obvious bug!
Yours,
Linus Walleij