Files
Kees Cook 0af298e62e treewide: refresh kmalloc_obj() conversions
Refresh the tree with run of the existing Coccinelle rules in
scripts/coccinelle/api/kmalloc_objs.cocci, now that they also convert
arrays of multi-byte integers.

The conversions break down as:

	435	kzalloc_objs()
	169	kmalloc_objs()
	 52	kvzalloc_objs()
	 47	kzalloc_obj()
	 42	kvmalloc_objs()
	  8	kmalloc_obj()
	  2	kzalloc_flex()
	  2	kvmalloc_flex()

and 37 existing kmalloc_obj() family calls drop a redundant GFP_KERNEL.

Build tested with allmodconfig on x86_64 with GCC 16.2.0, and, together
with the devm_kmalloc_obj() conversion that follows, on x86_64, arm64,
i386, arm, riscv, s390, m68k, mips, parisc, sparc, loongarch, arc,
xtensa, and openrisc with GCC 16.2.0 with no new warnings.

Signed-off-by: Kees Cook <[email protected]>
2026-11-05 21:55:37 -08:00
..
…
2024-10-23 18:10:24 +02:00
…
2022-03-01 10:07:22 +01:00
2025-01-11 12:32:12 +01:00
…
2025-04-27 10:12:03 +02:00
2022-03-01 10:07:22 +01:00
…
2024-01-08 10:39:12 +01:00
…
2024-01-08 10:39:12 +01:00
2022-05-19 19:30:31 +02:00
2024-03-07 17:18:50 +01:00
…
2023-12-10 17:21:38 -08:00
2023-12-10 17:21:38 -08:00
2023-06-09 10:34:14 +02:00
…
2023-12-10 17:21:38 -08:00
…