linux/arch/mips
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
..
alchemy mips: replace linux/gpio.h inclusions 2026-07-24 20:12:48 +02:00
ath25 MIPS: Switch to irq_domain_create_*() 2025-05-16 21:06:10 +02:00
ath79
bcm47xx treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
bcm63xx mips: replace linux/gpio.h inclusions 2026-07-24 20:12:48 +02:00
bmips mips: bmips: setup: make CBR address configurable 2024-06-27 10:44:32 +02:00
boot mips: dts: econet: Describe dual-VPE 34Kc processor 2026-08-03 15:14:05 +02:00
cavium-octeon staging: octeon: convert cvmx_pko_status_t from typedef to plain enum 2026-05-04 16:21:34 +02:00
cobalt MIPS: Cobalt: Fix missing prototypes 2024-01-22 10:32:21 +01:00
configs \n 2026-08-20 12:52:35 -07:00
dec MIPS: DEC: Ensure RTC platform device deregistration upon failure 2026-06-29 11:27:15 +02:00
econet mips: econet: add multi-vpe capability to EN751221 2026-08-03 15:13:32 +02:00
fw MIPS: Fix big-endian stack argument fetching in o32 wrapper 2026-05-26 16:35:36 +02:00
generic MIPS: generic: Replace deprecated strcpy() in ocelot_detect() 2025-08-29 22:34:30 +02:00
include - switch gpio code to use swnodes 2026-08-21 12:39:49 -07:00
ingenic
jazz MIPS/jazzdma: Provide physical address directly 2025-10-29 10:27:30 +01:00
kernel - switch gpio code to use swnodes 2026-08-21 12:39:49 -07:00
kvm KVM generic changes for 7.0 2026-03-11 18:01:55 +01:00
lantiq Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
lib MIPS: lib: Remove '.hidden' for local symbols 2026-06-15 12:21:31 +02:00
loongson2ef MIPS: Loongson2ef: Use pcibios_align_resource() to block io range 2026-02-05 10:00:37 +01:00
loongson32 MIPS: loongson32: Switch to generic core 2025-08-29 22:34:31 +02:00
loongson64 MIPS: loongson64: add IRQ work based on self-IPI 2026-06-29 11:36:36 +02:00
math-emu mips: math-emu: replace deprecated strcpy() in me-debugfs 2025-09-12 11:56:06 +02:00
mm MIPS: mm: Add check for highmem before removing memory block 2026-06-29 11:34:57 +02:00
mobileye MIPS: Add Mobileye EyeQ6Lplus support 2026-04-13 15:31:40 +02:00
mti-malta MIPS: Malta: Fix !EVA SOC-it PCI MMIO 2025-11-11 12:58:49 +01:00
n64 mips: n64: add __iomem for writel call 2026-05-26 16:35:37 +02:00
net bpf: Pass bpf_verifier_env to JIT 2026-04-16 07:03:40 -07:00
pci Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
pic32 irqchip/irq-pic32-evic: Allow driver to be compiled with COMPILE_TEST 2026-02-24 08:15:44 +01:00
power mips: suspend: include linux/suspend.h as needed 2023-12-10 17:21:41 -08:00
ralink Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
rb532 MIPS: RB532: serial: statify setup_serial_port() 2026-05-26 16:35:36 +02:00
sgi-ip22 MIPS: ip22-gio: do not export device release function 2026-05-27 09:50:34 +02:00
sgi-ip27 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sgi-ip30 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sgi-ip32 MIPS: sgi-ip32: Replace deprecated strcpy() in plat_mem_setup() 2025-08-29 22:34:30 +02:00
sibyte mips: sibyte: add missing MODULE_DESCRIPTION() macro 2024-07-23 09:47:40 +02:00
sni MIPS: sni: Replace deprecated strcpy() in sni_console_setup() 2025-08-29 22:34:30 +02:00
tools
txx9 MIPS: TXX9: Clean up txx9_iocled_init() 2026-07-17 12:43:09 +02:00
vdso VDSO updates: 2026-08-18 16:56:25 -07:00
Kbuild MIPS: Share generic kernel code with other architecture 2024-02-20 13:36:25 +01:00
Kbuild.platforms mips: Add EcoNet MIPS platform support 2025-05-20 08:46:58 +02:00
Kconfig - switch gpio code to use swnodes 2026-08-21 12:39:49 -07:00
Kconfig.debug
Makefile MIPS: Remove unused arch/mips/crypto directory 2026-05-22 20:25:30 +08:00
Makefile.postlink kbuild: Create intermediate vmlinux build with relocations preserved 2025-03-17 00:29:50 +09:00