Re: [PATCH] irqchip/qcom-mpm: Fix potential stale power domain on probe failure

From: Konrad Dybcio

Date: Tue Dec 01 2026 - 08:23:48 EST


On 12/1/26 1:31 PM, Guangshuo Li wrote:
> Failures after registering the power-domain provider leave it pointing
> to managed storage that probe cleanup frees. The mailbox allocation
> failure also skips removing the domain itself.
>
> Unregister the provider and remove the domain on these error paths.
>
> This issue was found by our static analysis tool under development.
>
> Fixes: a6199bb514d8 ("irqchip: Add Qualcomm MPM controller driver")
> Signed-off-by: Guangshuo Li <liguangshuo@xxxxxxxxxxxxxxx>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

Konrad