[PATCH] powercap: arm_scmi: Fix potential stale zones after a skipped leaf
Cristian Marussi
cristian.marussi at arm.com
Fri Nov 13 08:03:37 PST 2026
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 at arm.com>
Thanks,
Cristian
More information about the linux-arm-kernel
mailing list