Skip to contentSkip to conversation

powerpc/fsl_rio: Missing of_node_put() calls in fsl_rio_setup()

bug report Markus Elfring 1 participant 1 message Sep 15, 2025 Kernel janitors

lore
Share & tools
lore
#0 lore raw

Hello,

Another script for the semantic patch language (Coocinelle software) pointed details out also according to the implementation of the function “fsl_rio_setup” for further development considerations.
https://elixir.bootlin.com/linux/v6.17-rc5/source/arch/powerpc/sysdev/fsl_rio.c#L439-L731
https://lore.kernel.org/cocci/[email protected]/
https://sympa.inria.fr/sympa/arc/cocci/2025-09/msg00023.html

* I got the impression then that the function “of_node_put” should be called in more cases here.

* How do you think about to avoid a bit of duplicate source code by another update step?

* Further implementation details can be improved.

Regards,
Markus