Re: [PATCH] cpufreq: nforce2: fix PCI device reference leaks in nforce2_fsb_read

From: Markus Elfring
Date: Tue Sep 02 2025 - 07:22:03 EST


> Add missing pci_dev_put() calls to release device references
> obtained via pci_get_subsys().

* Would you like to complete the object clean-up by using a goto chain?

* How do you think about to increase the application of scope-based resource management?
https://elixir.bootlin.com/linux/v6.17-rc4/source/include/linux/pci.h#L1208


Regards,
Markus