Re: [PATCH] PCI: starfive: Fix resource leaks on error paths in host_init()
Markus Elfring <[email protected]>
| Newsgroups | org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <[email protected]> |
RRRRRRR Am 15.07.26 um 12:26 schrieb Markus Elfring: > … >> 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