linux/sound/isa
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
..
ad1816a ALSA: ad1816a: Use guard() for spin locks 2025-09-01 13:53:01 +02:00
ad1848 ALSA: isa: Use *-y instead of *-objs in Makefile 2024-05-08 18:17:48 +02:00
cs423x ALSA: Improve style of pnp_device_id array terminators 2026-06-10 09:25:03 +02:00
es1688 ALSA: es1688: add ISA suspend and resume callbacks 2026-04-01 14:46:41 +02:00
galaxy ALSA: galaxy: Use safer strscpy() instead of strcpy() 2025-07-11 09:53:15 +02:00
gus treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
msnd ALSA: msnd: Use auto-cleanup for firmware loading 2026-07-31 12:44:36 +02:00
opti9xx ALSA: opti9xx: restore snd-miro state after resume 2026-04-27 13:44:27 +02:00
sb ALSA: isa: Mark '*_registered' variables as __ro_after_init 2026-05-25 09:31:31 +02:00
wavefront ALSA: wavefront: Use auto-cleanup for firmware loading 2026-07-31 12:44:36 +02:00
wss ALSA: wss: Use guard() for spin locks 2025-09-01 13:53:03 +02:00
adlib.c ALSA: adlib: Use safer strscpy() instead of strcpy() 2025-07-11 09:53:14 +02:00
als100.c ALSA: als100: Use safer strscpy() instead of strcpy() 2025-07-11 09:53:14 +02:00
azt2320.c ALSA: azt2320: Replace deprecated strcpy() with strscpy() 2025-04-08 11:48:37 +02:00
cmi8328.c ALSA: cmi8328: Use safer strscpy() instead of strcpy() 2025-07-11 09:53:14 +02:00
cmi8330.c ALSA: isa: Mark '*_registered' variables as __ro_after_init 2026-05-25 09:31:31 +02:00
es18xx.c ALSA: Improve style of pnp_device_id array terminators 2026-06-10 09:25:03 +02:00
Kconfig ALSA: add HAS_IOPORT dependencies 2023-05-22 16:43:47 +02:00
Makefile ALSA: isa: Use *-y instead of *-objs in Makefile 2024-05-08 18:17:48 +02:00
opl3sa2.c ALSA: Improve style of pnp_device_id array terminators 2026-06-10 09:25:03 +02:00
sc6000.c ALSA: sc6000: Restore board setup across suspend 2026-04-10 14:59:47 +02:00
sscape.c ALSA: sscape: Use auto-cleanup for firmware loading 2026-07-31 12:44:36 +02:00