linux/kernel/irq
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
..
affinity.c genirq/affinity: Remove cpus_read_lock() while reading cpu_possible_mask 2026-04-01 16:09:05 +02:00
autoprobe.c
chip.c Interrupt core code changes: 2026-06-15 13:19:41 +05:30
cpuhotplug.c
debug.h
debugfs.c
debugfs.h genirq/proc: Runtime size the chip name 2026-05-26 16:21:15 +02:00
devres.c
dummychip.c
generic-chip.c
handle.c
internals.h Locking updates for v7.2: 2026-06-15 14:21:14 +05:30
ipi-mux.c
ipi.c
irq_sim.c
irq_test.c
irqdesc.c genirq: Remove unnecessary NULL check of the kstat_irqs field 2026-07-07 21:36:18 +02:00
irqdomain.c irqdomain: Remove unnedded NULL check in __irq_domain_[de]activate_irq() 2026-06-29 15:42:26 +02:00
Kconfig
kexec.c
Makefile irq: Add KUnit test for refcounted interrupt enable/disable 2026-08-10 10:50:18 +02:00
manage.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
matrix.c genirq/matrix, LoongArch: Delete IRQ_MATRIX_BITS leftovers 2026-03-17 10:57:03 +01:00
migration.c
msi.c genirq/msi: Move misplaced EXPORT_SYMBOL_GPL for msi_domain_free_irqs_all() 2026-07-20 11:23:00 +02:00
pm.c
proc.c genirq/proc: Speed up /proc/interrupts iteration 2026-05-26 16:21:15 +02:00
proc.h genirq/proc: Runtime size the chip name 2026-05-26 16:21:15 +02:00
refcount_interrupt_test.c irq: Add KUnit test for refcounted interrupt enable/disable 2026-08-10 10:50:18 +02:00
resend.c
settings.h genirq: Cache the condition for /proc/interrupts exposure 2026-05-26 16:21:13 +02:00
spurious.c