[PATCH v2] soc: ti: pruss: fix double free in pruss_clk_mux_setup()
Nishanth Menon
nm at ti.com
Fri Jan 9 12:04:44 PST 2026
On 17:40-20260109, Markus Elfring wrote:
> …
> > +++ b/drivers/soc/ti/pruss.c
> > @@ -368,10 +368,9 @@ static int pruss_clk_mux_setup(struct pruss *pruss, struct clk *clk_mux,
> > clk_mux_np);
> > if (ret) {
> > dev_err(dev, "failed to add clkmux free action %d", ret);
> > - goto put_clk_mux_np;
> > }
>
> You may omit curly brackets here.
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?h=v6.19-rc4#n197
agree.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
https://ti.com/opensource
More information about the linux-arm-kernel
mailing list