Re: [PATCH] powerpc-km82xx.c: replace of_node_put with __free improves cleanup
From: Michael Ellerman <hidden>
Date: 2024-11-17 12:25:15
Also in:
lkml
From: Michael Ellerman <hidden>
Date: 2024-11-17 12:25:15
Also in:
lkml
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