linux/sound/soc/qcom
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
..
qdsp6 treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
apq8016_sbc.c ASoC: qcom: Use snd_soc_substream_to_rtd() for accessing private_data 2024-05-06 23:59:47 +09:00
apq8096.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
common.c ASoC: qcom: common: Distinguish missing and invalid TDM slot configuration 2026-08-18 19:22:46 +01:00
common.h ASoC: qcom: common: add DAI-node TDM slot helpers 2026-08-04 17:32:22 +01:00
Kconfig ASoC: soc-dapm: cleanups 2025-07-07 21:02:59 +01:00
lpass-apq8016.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
lpass-cdc-dma.c ASoC: qcom: use int type to store negative error codes 2025-08-28 16:07:45 +02:00
lpass-cpu.c ASoC: qcom: Fix NULL Dereference in asoc_qcom_lpass_cpu_platform_probe() 2024-10-07 15:35:34 +01:00
lpass-hdmi.c ASoC: qcom: use int type to store negative error codes 2025-08-28 16:07:45 +02:00
lpass-hdmi.h ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-ipq806x.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
lpass-lpaif-reg.h ASoC: qcom: Add register definition for codec rddma and wrdma 2022-02-24 20:21:42 +00:00
lpass-platform.c ASoC: qcom: name back to pcm_new()/pcm_free() 2026-03-16 13:37:57 +00:00
lpass-sc7180.c ASoC: qcom: Convert to SYSTEM_SLEEP_PM_OPS() 2025-03-17 10:14:51 +00:00
lpass-sc7280.c ASoC: qcom: Convert to SYSTEM_SLEEP_PM_OPS() 2025-03-17 10:14:51 +00:00
lpass.h ASoC: qcom: common: validate cpu dai id during parsing 2026-04-02 16:33:43 +01:00
Makefile ASoC: qcom: qdsp6: Add headphone jack for offload connection status 2025-04-11 13:02:32 +02:00
sc7180.c ASoC: qcom: sc7180: convert to snd_soc_dapm_xxx() 2025-11-17 00:18:03 +00:00
sc7280.c Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
sc8280xp.c ASoC: qcom: sc8280xp: Fix TDM hw_params error handling 2026-08-18 19:22:47 +01:00
sdm845.c ASoC: qcom: sdm845: remove unused card 2026-07-21 19:06:42 +01:00
sdw.c ASoC: qcom: sc7280: make use of common helpers 2025-10-29 14:54:40 +00:00
sdw.h ASoC: qcom: sdw: remove redundant code 2025-10-29 14:54:38 +00:00
sm8250.c ASoC: qcom: sm8250: add SDM660 compatible 2026-08-01 00:27:56 +01:00
storm.c ASoC: qcom: storm: use dev instead of card on storm_parse_of() 2026-07-21 19:06:43 +01:00
usb_offload_utils.c ASoC: qcom: qdsp6: Add headphone jack for offload connection status 2025-04-11 13:02:32 +02:00
usb_offload_utils.h ASoC: qcom: qdsp6: Add headphone jack for offload connection status 2025-04-11 13:02:32 +02:00
x1e80100.c ASoC: qcom: x1e80100: limit speaker volumes 2026-04-22 15:44:05 +01:00