On Tue, 27 Feb 2024 16:56:59 -0800 Jakub Kicinski <kuba@xxxxxxxxxx> 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