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 genirq/autoprobe: Switch to lock guards 2025-05-07 09:08:11 +02:00
chip.c Interrupt core code changes: 2026-06-15 13:19:41 +05:30
cpuhotplug.c genirq/cpuhotplug: Notify about affinity changes breaking the affinity mask 2026-01-13 21:18:16 +01:00
debug.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk 2018-02-01 13:36:15 -08:00
debugfs.c treewide: Update email address 2026-01-11 06:09:11 -10:00
debugfs.h genirq/proc: Runtime size the chip name 2026-05-26 16:21:15 +02:00
devres.c genirq/devres: Add error handling in devm_request_*_irq() 2025-08-24 13:00:45 +02:00
dummychip.c irq: Fix typos in comments 2021-03-22 04:23:14 +01:00
generic-chip.c Convert 'alloc_flex' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
handle.c genirq: Remove IRQ timing tracking infrastructure 2025-12-15 22:20:50 +01:00
internals.h Locking updates for v7.2: 2026-06-15 14:21:14 +05:30
ipi-mux.c genirq/ipi-mux: Use irq_domain_alloc_irqs() 2023-02-06 17:21:15 +00:00
ipi.c genirq/ipi: Fix NULL pointer deref in irq_data_get_affinity_mask() 2023-02-20 13:53:41 +01:00
irq_sim.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
irq_test.c genirq/test: Ensure CPU 1 is online for hotplug test 2025-09-03 17:04:52 +02:00
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 genirq: Remove IRQ timing tracking infrastructure 2025-12-15 22:20:50 +01:00
kexec.c genirq/kexec: Prevent redundant IRQ masking by checking state before shutdown 2024-12-11 20:32:34 +01:00
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 genirq/migration: Use irqd_get_parent_data() in irq_force_complete_move() 2025-04-04 17:08:36 +02:00
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 syscore: Pass context data to callbacks 2025-11-14 10:01:52 +01:00
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 genirq/resend: Switch to lock guards 2025-05-07 09:08:11 +02:00
settings.h genirq: Cache the condition for /proc/interrupts exposure 2026-05-26 16:21:13 +02:00
spurious.c genirq: Move irq_wait_for_poll() to call site 2025-07-22 14:30:42 +02:00