[PATCH] soc: dove: pmu: fix device_node refcount leaks in dove_init_pmu()

Markus Elfring Markus.Elfring at web.de
Sun Jun 21 12:20:05 PDT 2026


…
> Release np_pmu on the two early error returns and via pmu->of_node on the
> iomap-failure return, and release domains_node on every path once it is
> no longer needed.
…

* Would you like to complete the exception handling by using another goto chain?

* How do you think about to increase the application of scope-based resource management?


Regards,
Markus




More information about the linux-arm-kernel mailing list