Re: [resend PATCH] coccinelle: Add devm_kmalloc_objs conversion script
From: Kees Cook
Date: Mon Nov 02 2026 - 03:53:58 EST
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
Please 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 Cook