Re: [PATCH] PCI: eswin: Fix resource leak on dw_pcie_host_init() failure
From: Markus Elfring
Date: Fri Apr 17 2026 - 04:34:10 EST
> When dw_pcie_host_init() fails, the code jumps to err_init which
> only calls pm_runtime_put() but skips the clean up of port resources.
Thus use an other label?
See also:
* https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.0#n94
* https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/stable-kernel-rules.rst?h=v7.0#n34
Regards,
Markus