[PATCH] powerpc-km82xx.c: replace of_node_put with __free improves cleanup

Michael Ellerman patch-notifications at ellerman.id.au
Sun Nov 17 23:09:57 AEDT 2024


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


More information about the Linuxppc-dev mailing list