lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 22 Nov 2022 09:36:32 +0100
From:   Linus Walleij <linus.walleij@...aro.org>
To:     Peng Zhang <zhangpeng362@...wei.com>
Cc:     damien.lemoal@....com, seanga2@...il.com, palmerdabbelt@...gle.com,
        linux-riscv@...ts.infradead.org, linux-gpio@...r.kernel.org,
        linux-kernel@...r.kernel.org, sunnanyong@...wei.com,
        wangkefeng.wang@...wei.com
Subject: Re: [PATCH] pinctrl: call of_node_put() when breaking out of for_each_available_child_of_node()

On Tue, Nov 22, 2022 at 8:34 AM Peng Zhang <zhangpeng362@...wei.com> wrote:

> From: ZhangPeng <zhangpeng362@...wei.com>
>
> Since for_each_available_child_of_node() will increase the refcount of
> node, we need to call of_node_put() manually when breaking out of the
> iteration.
>
> Fixes: d4c34d09ab03 ("pinctrl: Add RISC-V Canaan Kendryte K210 FPIOA driver")
> Signed-off-by: ZhangPeng <zhangpeng362@...wei.com>

Patch applied.

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ