Re: [PATCH v2 1/2] cpuidle: riscv-sbi: Use scoped device node handling to fix missing of_node_put

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 20, 2024 at 12:57 PM Anup Patel <anup@xxxxxxxxxxxxxx> wrote:
>
> On Tue, Aug 20, 2024 at 3:10 PM Krzysztof Kozlowski
> <krzysztof.kozlowski@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx>
> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
>
> LGTM.
>
> Reviewed-by: Anup Patel <anup@xxxxxxxxxxxxxx>

Applied along with the [2/2] as 6.12 material, thanks!





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux