Re: [cocci] [PATCH] coccinelle: Add devm_kmalloc_objs conversion script

Joe Perches <[email protected]> Wed, 24 Jun 2026 10:52:12 -0700
Newsgroups fr.inria.cocci,dev.linux.lists.driver-core,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Wed, 2026-06-24 at 19:25 +0200, Julia Lawall wrote:
> On Wed, 24 Jun 2026, Joe Perches wrote:
> > On Mon, 2026-06-15 at 19:10 -0700, Joe Perches wrote:
> > > Like commit bdc5071d7f7b ("coccinelle: Add kmalloc_objs conversion sc=
ript")
> > > with commit 1c7bbaeed110 ("coccinelle: kmalloc_obj: Remove default GF=
P_KERNEL arg")
> > >=20
> > > Finds and converts sized devm_kmalloc-family of allocations into the =
typed
> > > devm_kmalloc_obj-family of allocations.
> >=20
> > Its been a bit.
> > Any comments or negatives about using or running this script?
> >=20
> > This script would change more than 8000 instances in more than
> > 5000 files in Linus' current master.
>=20
> I was going to try it this evening.  Are you concerned that it is too
> much?

Not really.
There were no comments and it might have been overlooked.