[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-doc
Subject: Re: [PATCH net-next v5 13/17] net: pse-pd: Use regulator framework within PSE framework
From: Köry Maincent <kory.maincent () bootlin ! com>
Date: 2024-02-29 10:19:46
Message-ID: 20240229111946.55426a60 () kmaincent-XPS-13-7390
[Download RAW message or body]
On Tue, 27 Feb 2024 16:56:59 -0800
Jakub Kicinski <kuba@kernel.org> wrote:
> On Tue, 27 Feb 2024 15:42:55 +0100 Kory Maincent wrote:
> > + psec->ps = devm_regulator_get_exclusive(dev,
> > +
> > rdev_get_name(pcdev->pi[index].rdev));
> > + if (IS_ERR(psec->ps)) {
> > + kfree(psec);
> > + return ERR_CAST(psec->ps);
>
> coccinelle says: ERROR: reference preceded by free on line 458
Ouch, indeed, missed this error.
Regards,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic