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

From: Markus Elfring

Date: Sun Jun 21 2026 - 15:20:27 EST



> 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