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]
Message-ID: <CACRpkdayBQ6TrV0Nn9jWX45YaP6repY0FU6CP=FnubLbonpEbQ@mail.gmail.com>
Date: Sat, 31 Aug 2024 00:17:41 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Jinjie Ruan <ruanjinjie@...wei.com>
Cc: woojung.huh@...rochip.com, andrew@...n.ch, f.fainelli@...il.com, 
	olteanv@...il.com, davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, 
	pabeni@...hat.com, alsi@...g-olufsen.dk, justin.chen@...adcom.com, 
	sebastian.hesselbarth@...il.com, alexandre.torgue@...s.st.com, 
	joabreu@...opsys.com, mcoquelin.stm32@...il.com, wens@...e.org, 
	jernej.skrabec@...il.com, samuel@...lland.org, hkallweit1@...il.com, 
	linux@...linux.org.uk, ansuelsmth@...il.com, UNGLinuxDriver@...rochip.com, 
	netdev@...r.kernel.org, linux-kernel@...r.kernel.org, 
	bcm-kernel-feedback-list@...adcom.com, linux-arm-kernel@...ts.infradead.org, 
	linux-sunxi@...ts.linux.dev, linux-stm32@...md-mailman.stormreply.com, 
	krzk@...nel.org, jic23@...nel.org
Subject: Re: [PATCH -next 2/7] net: dsa: realtek: Use for_each_child_of_node_scoped()
 and __free()

On Tue, Aug 27, 2024 at 9:45 AM Jinjie Ruan <ruanjinjie@...wei.com> wrote:

> Avoid need to manually handle of_node_put() by using
> for_each_child_of_node_scoped() and __free(), which can simplfy code.
>
> Signed-off-by: Jinjie Ruan <ruanjinjie@...wei.com>

Neat!
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ