Re: [PATCH] PCI: starfive: Fix resource leaks on error paths in host_init()
From: Markus Elfring
Date: Wed Jul 15 2026 - 06:33:14 EST
…
> Disable the PHY on the clk/reset failure path, and disable the
> clocks/resets and PHY, then return the error, if the regulator fails
> to enable.
…
Please avoid a bit of duplicate source code by using an additional label.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?h=v7.2-rc3#n526
Regards,
Markus