linux/sound/soc/meson
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
..
aiu-acodec-ctrl.c ASoC: meson: aiu: Validate written enum values 2026-06-11 20:44:44 +01:00
aiu-codec-ctrl.c ASoC: meson: aiu: Validate written enum values 2026-06-11 20:44:44 +01:00
aiu-encoder-i2s.c ASoC: meson: aiu-encoder-i2s: use the core symmetric_rate handling 2026-07-27 14:39:24 +01:00
aiu-encoder-spdif.c
aiu-fifo-i2s.c ASoC: meson: Constify static snd_pcm_hardware 2024-05-07 00:00:22 +09:00
aiu-fifo-spdif.c ASoC: meson: aiu: fifo-spdif: soft reset the S/PDIF datapath on start/stop 2026-07-07 23:01:44 +01:00
aiu-fifo.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
aiu-fifo.h ASoC: meson: Remove unused declartion in header file 2024-09-10 18:02:37 +01:00
aiu-formatter-i2s.c ASoC: meson: aiu-formatter-i2s: remove pipeline reset from prepare 2026-07-14 13:49:20 +01:00
aiu.c ASoC: meson: aiu: make aiu_formatter_i2s_drv static 2026-08-13 13:14:47 +01:00
aiu.h ASoC: meson: aiu: use aiu-formatter-i2s to format I2S output data 2026-06-29 19:43:29 +01:00
axg-card.c ASoC: meson: axg-card: tidyup not to use card->dev 2026-07-23 17:31:02 +01:00
axg-fifo.c ASoC: meson: axg-fifo: fix irq scheduling issue with PREEMPT_RT 2024-08-08 20:34:55 +01:00
axg-fifo.h
axg-frddr.c ASoC: meson: tdm: add sample rate support up to 768kHz 2024-06-28 13:39:33 +01:00
axg-pdm.c
axg-spdifin.c
axg-spdifout.c ASoC: meson: axg-spdifout: convert to snd_soc_dapm_xxx() 2025-11-17 00:17:55 +00:00
axg-tdm-formatter.c ASoC: meson: axg-tdm-formatter: Use guard() for mutex locks 2026-06-11 20:42:38 +01:00
axg-tdm-formatter.h
axg-tdm-interface.c ASoC: meson: axg-tdm-interface: convert to snd_soc_dapm_xxx() 2025-11-17 00:17:56 +00:00
axg-tdm.h ASoC: meson: axg-iface: set continuous rates 2024-09-30 01:10:55 +02:00
axg-tdmin.c
axg-tdmout.c
axg-toddr.c ASoC: meson: tdm: add sample rate support up to 768kHz 2024-06-28 13:39:33 +01:00
g12a-toacodec.c ASoC: meson: Use dev_err_probe() for device reset failures 2026-06-29 18:21:09 +01:00
g12a-tohdmitx.c ASoC: meson: Use dev_err_probe() for device reset failures 2026-06-29 18:21:09 +01:00
gx-card.c ASoC: meson: gx-card: tidyup not to use card->dev 2026-07-23 17:31:03 +01:00
gx-formatter.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
gx-formatter.h ASoC: meson: gx: add gx-formatter and gx-interface 2026-06-29 19:43:26 +01:00
gx-interface.h ASoC: meson: aiu-encoder-i2s: use the core symmetric_rate handling 2026-07-27 14:39:24 +01:00
Kconfig ASoC: meson: Standardize ASoC menu 2025-06-24 01:01:23 +01:00
Makefile ASoC: meson: aiu: introduce I2S output formatter 2026-06-29 19:43:28 +01:00
meson-card-utils.c ASoC: meson: preparation for Card capsuling 2026-07-23 17:31:07 +01:00
meson-card.h
meson-codec-glue.c ASoC: meson: Drop __force cast 2026-08-13 16:43:27 +02:00
meson-codec-glue.h
t9015.c ASoC: use .auto_selectable_formats 2026-07-09 18:00:14 +01:00