[PATCH] pasemi: fix PCI device reference leaks in pas_setup_mce_regs

Jiri Slaby jirislaby at kernel.org
Tue Sep 2 20:35:33 AEST 2025


On 02. 09. 25, 12:24, Markus Elfring wrote:
>>> Add missing pci_dev_put() calls to ensure all device references
>> are properly released.
> 
> * See also:
>    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.17-rc4#n658

?

> * Would you like to increase the application of scope-based resource management?
>    https://elixir.bootlin.com/linux/v6.17-rc4/source/include/linux/device.h#L1180

That won't work here at all.

-- 
js
suse labs


More information about the Linuxppc-dev mailing list