[bug report] powerpc/fsl_rio: Missing of_node_put() calls in fsl_rio_setup()
Markus Elfring
Markus.Elfring at web.de
Mon Sep 15 22:52:42 AEST 2025
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/504107f9-09eb-47fe-96ea-53e375b17eac@web.de/
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
More information about the Linuxppc-dev
mailing list