Re: [PATCH v3 linux-next] leds: powernv: replace of_node_put to __free

2024-06-13 Thread Lee Jones
On Fri, 07 Jun 2024, Marilene Andrade Garcia wrote: > On 01/06/2024 00:17, MarileneGarcia wrote: > > Use __free for device_node values, and thus drop calls to > > of_node_put. > > > > The variable attribute __free adds a scope based cleanup to > > the device node. The goal is to reduce memory man

Re: [PATCH v3 linux-next] leds: powernv: replace of_node_put to __free

2024-06-07 Thread Marilene Andrade Garcia
On 01/06/2024 00:17, MarileneGarcia wrote: Use __free for device_node values, and thus drop calls to of_node_put. The variable attribute __free adds a scope based cleanup to the device node. The goal is to reduce memory management issues in the kernel code. The of_node_put calls were removed, a