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 -- pw-bot: cr