Files
linux/lib
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
..
2026-08-13 15:42:05 -07:00
2025-03-16 22:30:49 -07:00
…
…
2025-04-11 17:32:37 -07:00
2026-03-05 22:16:08 -05:00
…
…
…
…
…
…
…
…
2026-10-06 19:02:51 -07:00
…
…
…
…
…
2026-07-31 10:09:12 +02:00
2024-10-14 16:33:24 -05:00
…
…
…
2026-02-27 16:40:16 +01:00
…
…
2025-03-25 10:18:31 -03:00
2026-04-18 00:10:48 -07:00
…
2024-12-09 13:48:29 -08:00