[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173184539769.890800.11654652895579463795.b4-ty@ellerman.id.au>
Date: Sun, 17 Nov 2024 23:09:57 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: mpe@...erman.id.au, npiggin@...il.com, christophe.leroy@...roup.eu, linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org, Naveen N Rao <naveen@...nel.org>, David Hunter <david.hunter.linux@...il.com>
Cc: julia.lawall@...ia.fr, skhan@...uxfoundation.org, javier.carrasco.cruz@...il.com
Subject: Re: [PATCH] powerpc-km82xx.c: replace of_node_put with __free improves cleanup
On Tue, 09 Jul 2024 10:35:53 -0400, David Hunter wrote:
> The use of the __free function allows the cleanup to be based on scope
> instead of on another function called later. This makes the cleanup
> automatic and less susceptible to errors later.
>
> This code was compiled without errors or warnings.
>
>
> [...]
Applied to powerpc/next.
[1/1] powerpc-km82xx.c: replace of_node_put with __free improves cleanup
https://git.kernel.org/powerpc/c/4aa5cc1e0012f784bc7f637458e597564833b425
cheers
Powered by blists - more mailing lists