linux/sound/soc
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
..
adi
amd ASoC: Fixes for v7.3 2026-08-27 16:15:47 +02:00
apple ASoC: apple: use .auto_selectable_formats 2026-08-01 02:40:24 +01:00
atmel ASoC: atmel: use .auto_selectable_formats 2026-08-01 02:40:25 +01:00
au1x ASoC: au1x: use .auto_selectable_formats 2026-08-01 02:40:25 +01:00
bcm ASoC: bcm: use .auto_selectable_formats 2026-08-01 02:40:26 +01:00
cirrus ASoC: cirrus: use .auto_selectable_formats 2026-08-01 02:40:27 +01:00
codecs treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
dwc ASoC: dwc: Propagate -EPROBE_DEFER from IRQ lookup 2026-08-10 15:37:27 +01:00
fsl ASoC: Fixes for v7.3 2026-08-27 16:15:47 +02:00
generic treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
google
hisilicon ASoC: hisilicon: Use guard() for spin locks 2026-06-12 14:20:37 +01:00
img ASoC: img: img-spdif-out: Use guard() for spin locks 2026-06-11 20:43:32 +01:00
intel ASoC: Updates for v7.3 2026-08-18 08:35:39 +02:00
jz4740 Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
kirkwood
loongson ASoC: loongson: Fix naming of machine event and DAPM widgets 2026-08-18 19:48:27 +01:00
mediatek ASoC: Updates for v7.3 2026-08-18 08:35:39 +02:00
meson treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
mxs ASoC: mxs-sgtl5000: Drop redundant probe error messages 2026-08-12 18:37:46 +01:00
pxa ASoC: pxa: Drop redundant probe error messages 2026-08-12 18:20:48 +01:00
qcom treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
renesas ASoC: renesas: Use auto-cleanup for firmware loading 2026-08-10 15:34:15 +01:00
rockchip ASoC: rockchip: spdif: Return the original error code 2026-08-13 15:46:08 +01:00
samsung Char/Misc/IIO/etc driver update for 7.3-rc1 2026-08-25 09:38:50 -07:00
sdca treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
sdw_utils ASoC: sdw_utils: Set component_name for tac5xx2 codec family 2026-08-21 22:42:08 +01:00
sof treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
sophgo ASoC: sophgo: remove unneeded devm_kmemdup() for DAI driver 2026-08-06 19:18:59 +01:00
spacemit ASoC: spacemit: advertise only DMA-backed DAI streams 2026-08-12 19:46:34 +01:00
spear ASoC: spear: spdif_out: Move DAI probe callback to snd_soc_dai_ops 2026-08-01 02:41:16 +01:00
sprd ASoC: sprd: sprd-pcm-dma: Drop redundant error messages 2026-07-30 18:57:45 +01:00
starfive ASoC: starfive: jh7110_tdm: Drop redundant error messages 2026-07-30 15:14:36 +01:00
sti ASoC: sti: uniperif_player: Use guard() for mutex & spin locks 2026-06-01 16:47:07 +01:00
stm Char/Misc/IIO/etc driver update for 7.3-rc1 2026-08-25 09:38:50 -07:00
sunxi ASoC: sunxi: Simplify error handling 2026-07-29 15:29:35 +01:00
tegra ASoC: tegra: Sort MBDRC register defaults 2026-08-21 18:08:39 +01:00
ti ASoC: ti: omap-twl4030: Check for missing card name after parsing 2026-08-11 14:58:08 +01:00
uniphier ASoC: uniphier: don't use "/**" for non-kernel-doc comment 2026-08-06 17:15:16 +01:00
ux500 MFD for v7.3 2026-08-27 10:45:08 -07:00
xilinx ASoC: Updates for v7.3 2026-08-18 08:35:39 +02:00
xtensa ASoC: xtensa: Use dev_err_probe() and drop redundant error handling 2026-07-10 13:09:41 +01:00
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-card-test.c
soc-card.c ASoC: soc-card: add snd_soc_card_set_topology_name() 2026-05-28 12:18:29 +01:00
soc-component.c ASoC: soc-component: add snd_soc_component_{set/to}_priv() 2026-08-05 00:39:29 +01:00
soc-compress.c
soc-core.c ASoC: soc-core: remove dev from soc_component_initialize() 2026-08-05 00:39:36 +01:00
soc-dai.c ASoC: update auto format selection method 2026-06-12 18:57:58 +01:00
soc-dapm.c ASoC: dapm: Fix off-by-one check on the second enum channel 2026-08-26 15:56:52 +01:00
soc-devres.c ASoC: core: Move all users to deferrable card binding 2026-05-11 10:06:10 +09:00
soc-generic-dmaengine-pcm.c ASoC: soc-generic-dmaengine: Fix DMA channel request warning 2026-08-26 14:14:09 +01:00
soc-jack.c
soc-link.c
soc-ops-test.c
soc-ops.c
soc-pcm.c ASoC: soc-pcm: constrain hw_params when DAIs share the same BCLK 2026-05-25 11:42:43 +01:00
soc-topology-test.c ASoC: soc-topology-test: use snd_soc_register_component() 2026-08-05 00:39:34 +01:00
soc-topology.c ASoC: topology: Check PCM and DAI name strings before use 2026-06-11 20:47:42 +01:00
soc-usb.c
soc-utils-test.c
soc-utils.c ASoC: remove SND_SOC_POSSIBLE_xBx_xFx 2026-06-12 18:57:52 +01:00