On Tue, Aug 20, 2024 at 12:57 PM Anup Patel anup@brainfault.org wrote:
On Tue, Aug 20, 2024 at 3:10 PM Krzysztof Kozlowski krzysztof.kozlowski@linaro.org wrote:
Two return statements in sbi_cpuidle_dt_init_states() did not drop the OF node reference count. Solve the issue and simplify entire error handling with scoped/cleanup.h.
Fixes: 6abf32f1d9c5 ("cpuidle: Add RISC-V SBI CPU idle driver") Cc: stable@vger.kernel.org Signed-off-by: Krzysztof Kozlowski krzysztof.kozlowski@linaro.org
LGTM.
Reviewed-by: Anup Patel anup@brainfault.org
Applied along with the [2/2] as 6.12 material, thanks!