Re: [PATCH] powercap: arm_scmi: Fix potential stale zones after a skipped leaf

From: Cristian Marussi

Date: Fri Nov 13 2026 - 15:24:23 EST


On Fri, Nov 13, 2026 at 10:09:35PM +0800, Guangshuo Li wrote:
> scmi_zones_register() skips leaf zones that cannot be registered, but
> returns the last leaf error when that leaf ends the traversal. Probe
> then fails without unregistering the successfully registered zones,
> whose private data is device-managed.

LGTM.
Reviewed-by: Cristian Marussi <cristian.marussi@xxxxxxx>

Thanks,
Cristian