linux/arch/powerpc
Kees Cook 3a2c4d55e3 treewide: refresh kmalloc_obj() conversions
This is another run of the Coccinelle script for converting kmalloc()
family of allocations to kmalloc_obj() via the existing rules in
scripts/coccinelle/api/kmalloc_objs.cocci

This catches both the set of kmalloc() uses added since the first
kmalloc_obj() conversions in v7.0 and adds a large group missed in the
first pass due to Coccinelle not interacting well with the cleanup.h
scoped_...() family of macros[1]. I worked around this with spatch's
"--macro-file" argument to a file with all the scoped_...() macros mapped
to Coccinelle's YACFE_ITERATOR[2] as that was the closest viable control
flow indicator I could find.

Build tested allmodconfig on x86, arm64, arm, loongarch, mips, powerpc,
riscv, and s390 with no new warnings.

Link: https://lore.kernel.org/lkml/202609021314.8A9C0B8@keescook/ [1]
Link: https://github.com/coccinelle/coccinelle/blob/master/standard.h [2]
Signed-off-by: Kees Cook <kees+treewide@kernel.org>
2026-09-04 21:37:00 -07:00
..
boot powerpc updates for 7.3 2026-08-18 12:08:13 -07:00
configs TTY / Serial driver updates for 7.3-rc1 2026-08-25 10:59:12 -07:00
crypto crypto: powerpc/aes - use bool for encryption/decryption flag 2026-07-17 18:09:22 +10:00
include mm.git review status for mm-hotfixes-stable..mm-stable 2026-08-20 18:17:08 -07:00
kernel pci-v7.3-changes 2026-08-23 12:44:10 -07:00
kexec powerpc updates for 7.3 2026-08-18 12:08:13 -07:00
kvm Arm: 2026-08-25 11:48:04 -07:00
lib powerpc: Remove dead non-preemption code 2026-07-15 08:04:13 +05:30
math-emu
mm mm.git review status for mm-hotfixes-stable..mm-stable 2026-08-20 18:17:08 -07:00
net powerpc64/bpf: Fix build break for arch_bpf_timed_may_goto 2026-08-03 14:11:27 +05:30
perf bitmap updates for v7.3 2026-08-20 11:41:46 -07:00
platforms dma-mapping updates for Linux 7.3: 2026-08-24 11:35:46 -07:00
purgatory
sysdev treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
tools powerpc64/ftrace: fix OOL stub count with clang 2026-03-07 16:02:25 +05:30
xmon powerpc/xmon: replace sizeof calculations with ARRAY_SIZE macro 2025-09-01 13:40:46 +05:30
Kbuild powerpc64/ftrace: Move ftrace sequence out of line 2024-10-31 11:00:54 +11:00
Kconfig VDSO updates: 2026-08-18 16:56:25 -07:00
Kconfig.debug powerpc: fix dead default for GUEST_STATE_BUFFER_TEST 2026-05-12 11:50:52 +05:30
Makefile powerpc: Enable Rust for ppc64le 2026-07-31 16:57:48 +05:30
Makefile.postlink powerpc/ftrace: Add a postlink script to validate function tracer 2024-10-31 11:00:54 +11:00