linux/sound/soc/qcom/qdsp6
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
..
audioreach.c ASoC: qcom: qdsp6: add topology-driven Audio IF support 2026-08-04 17:32:17 +01:00
audioreach.h ASoC: qcom: qdsp6: add topology-driven Audio IF support 2026-08-04 17:32:17 +01:00
Makefile ASoC: qcom: qdsp6: Add USB backend ASoC driver for Q6 2025-04-11 13:02:32 +02:00
q6adm.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
q6adm.h ASoC: qdsp6: q6adm: Add q6adm driver 2018-05-21 16:40:24 +01:00
q6afe-clocks.c ASoC: qcom: reduce number of binding headers includes 2023-10-09 13:14:19 +01:00
q6afe-dai.c ASoC: qdsp6: q6afe-dai: add internal mi2s support 2026-08-01 00:27:51 +01:00
q6afe.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
q6afe.h ASoC: qcom: common: validate cpu dai id during parsing 2026-04-02 16:33:43 +01:00
q6apm-dai.c ASoC: qcom: qdsp6: Zero-initialize AudioReach module config 2026-08-18 19:22:45 +01:00
q6apm-lpass-dais.c ASoC: qcom: q6apm-lpass-dais: add TDM DAI operations 2026-08-04 17:32:18 +01:00
q6apm.c ASoC: qcom: q6apm: keep the graph start count in sync with the DSP 2026-08-11 15:06:08 +01:00
q6apm.h ASoC: qcom: q6apm: add watermark event support 2026-06-01 17:19:14 +01:00
q6asm-dai.c ASoC: qcom: q6asm-dai: use pointer type with kzalloc_obj() 2026-05-25 13:46:47 +01:00
q6asm.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
q6asm.h ASoC: qcom: q6asm: add q6asm_get_hw_pointer 2025-11-05 13:28:23 +00:00
q6core.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
q6core.h
q6dsp-common.c ASoC: qcom: Add missing module descriptions 2024-05-08 20:51:09 +09:00
q6dsp-common.h ASoC: qcom: q6dsp-common: move channel allocation to common 2023-05-11 10:19:03 +09:00
q6dsp-errno.h
q6dsp-lpass-clocks.c ASoC: qcom: qdsp6: Increase Q6DSP_MAX_CLK_ID for LPASS LPR vote clock 2026-08-01 00:07:28 +01:00
q6dsp-lpass-clocks.h ASoC: qdsp6: q6afe-clocks: move audio-clocks to common file 2021-10-26 13:49:59 +01:00
q6dsp-lpass-ports.c ASoC: qdsp6: q6dsp-lpass-ports: add support for lpi mi2s ports 5-6 2026-08-01 00:27:49 +01:00
q6dsp-lpass-ports.h ASoC: qcom: qdsp6: Introduce USB AFE port to q6dsp 2025-04-11 13:02:32 +02:00
q6prm-clocks.c ASoC: dt-bindings: qcom,q6dsp-lpass-ports: Rename QAIF clock IDs 2026-08-18 19:22:44 +01:00
q6prm.c ASoC: qcom: q6prm: add support for LPASS LPR resource voting 2026-08-01 00:07:29 +01:00
q6prm.h ASoC: dt-bindings: qcom,q6dsp-lpass-ports: Rename QAIF clock IDs 2026-08-18 19:22:44 +01:00
q6routing.c ASoC: qdsp6: q6routing: add lpi mi2s support 2026-08-01 00:27:52 +01:00
q6routing.h ASoC: qdsp6: q6routing: Add q6routing driver 2018-05-21 16:41:48 +01:00
q6usb.c ASoC: qcom: q6usb: convert to snd_soc_dapm_xxx() 2025-11-17 00:18:02 +00:00
topology.c ASoC: qcom: Use auto-cleanup for firmware loading 2026-08-10 15:34:15 +01:00