(subset) [PATCH v3 linux-next] leds: powernv: replace of_node_put to __free

Lee Jones lee at kernel.org
Fri Jun 14 03:34:20 AEST 2024


On Sat, 01 Jun 2024 00:17:13 -0300, 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.
> 
> [...]

Applied, thanks!

[1/1] leds: powernv: replace of_node_put to __free
      commit: 7c85503b6d597b84ea58fe3dd95cd9eaeb1f3206

--
Lee Jones [李琼斯]



More information about the Linuxppc-dev mailing list