Re: [resend PATCH] coccinelle: Add devm_kmalloc_objs conversion script
From: Joe Perches
Date: Mon Nov 02 2026 - 08:29:24 EST
On Mon, 2026-11-02 at 00:52 -0800, Kees Cook wrote:
> On November 1, 2026 3:51:53 PM PST, Julia Lawall <julia.lawall@xxxxxxxx> wrote:
> > On Sun, 1 Nov 2026, Joe Perches wrote:
> >
> > > Like commit bdc5071d7f7b ("coccinelle: Add kmalloc_objs conversion script")
> > > with commit 1c7bbaeed110 ("coccinelle: kmalloc_obj: Remove default GFP_KERNEL arg")
> > >
> > > Finds and converts sized devm_kmalloc-family of allocations into the typed
> > > devm_kmalloc_obj-family of allocations.
> >
> > Applied
> ease don't send this. I already did this. See the PR I sent for rc1:
> https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/?h=for-linus/v7.4-rc1/devm_kmalloc_obj
Kees, I cc'd you back in June on my first attempt for 7.2-rc1
https://lore.kernel.org/lkml/eed0c57a2c897e34d411229c3de41c5402791894.1781575297.git.joe@xxxxxxxxxxx/