linux/sound/soc
Shen Lichuan 69a8d0edb9
ASoC: SOF: topology: Use kmemdup_array instead of kmemdup for multiple allocation
Let the kmemdup_array() take care about multiplication
and possible overflows.

Using kmemdup_array() is more appropriate and makes the code
easier to audit.

Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Link: https://patch.msgid.link/20240826054402.58396-1-shenlichuan@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-08-26 15:52:35 +01:00
..
adi
amd Add SOF support for ACP7.0 based platform 2024-08-24 01:51:40 +01:00
apple
atmel ASoC: atmel: atmel-classd: Re-add dai_link->platform to fix card init 2024-06-06 14:04:00 +01:00
au1x ASoC: allow module autoloading for table db1200_pids 2024-08-21 16:25:02 +01:00
bcm
cirrus
codecs ASoC: tas2781: replace devm_kzalloc and scnprintf with devm_kstrdup 2024-08-26 15:52:33 +01:00
dwc ASoC: dwc: change to use devm_clk_get_enabled() helpers 2024-08-22 13:34:11 +01:00
fsl ASoC: remove snd_soc_dai_link_set_capabilities() 2024-08-22 13:36:46 +01:00
generic ASoC: remove snd_soc_dai_link_set_capabilities() 2024-08-22 13:36:46 +01:00
google
hisilicon
img
intel ASoC: Merge up fixes 2024-08-23 22:45:53 +01:00
jz4740
kirkwood
loongson ASoC: loongson: Remove useless variable definitions 2024-08-14 22:19:19 +01:00
mediatek ASoC: Merge up fixes 2024-08-20 15:23:08 +01:00
meson ASoC: amlogic: do not use dpcm_playback/capture flags 2024-08-22 13:36:47 +01:00
mxs ASoC: mxs: add missing MODULE_DESCRIPTION() macro 2024-06-03 15:59:19 +01:00
pxa
qcom ASoC: remove snd_soc_dai_link_set_capabilities() 2024-08-22 13:36:46 +01:00
rockchip ASoC: Merge up fixes 2024-06-21 13:17:21 +01:00
samsung ASoC: samsung: midas_wm1811: Fix error code in probe() 2024-06-11 17:14:00 +01:00
sdw_utils ASoC: Intel: sof_sdw: use playback/capture_only flags 2024-08-22 13:36:48 +01:00
sh ASoC: rsnd: use pcm_dmaengine code 2024-07-30 13:29:52 +01:00
sof ASoC: SOF: topology: Use kmemdup_array instead of kmemdup for multiple allocation 2024-08-26 15:52:35 +01:00
spear
sprd
starfive
sti ASoC: sti: add missing probe entry for player and reader 2024-07-29 13:36:56 +01:00
stm ASoC: stm: use snd_pcm_direction_name() 2024-08-01 14:54:48 +01:00
sunxi
tegra ALSA/ASoC: use snd_pcm_direction_name() 2024-08-01 20:15:22 +01:00
ti Fixes for McASP and dmaengine_pcm 2024-06-12 18:26:15 +01:00
uniphier
ux500
xilinx
xtensa
Kconfig ASoC: intel/sdw-utils: move soundwire machine driver soc ops 2024-08-01 12:43:57 +01:00
Makefile ASoC: intel/sdw-utils: move soundwire machine driver soc ops 2024-08-01 12:43:57 +01:00
soc-ac97.c
soc-acpi.c
soc-card-test.c
soc-card.c
soc-component.c ASoC: soc-component: Add new snd_soc_component_get_kcontrol() helpers 2024-08-02 14:04:39 +01:00
soc-compress.c
soc-core.c ASoC: Use of_property_read_bool() 2024-08-01 12:51:45 +01:00
soc-dai.c ASoC: remove snd_soc_dai_link_set_capabilities() 2024-08-22 13:36:46 +01:00
soc-dapm.c ASoC: soc-dapm: use snd_pcm_direction_name() 2024-08-01 14:54:54 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c ALSA: dmaengine: Synchronize dma channel after drop() 2024-06-11 17:13:31 +01:00
soc-jack.c
soc-link.c
soc-ops.c ASoC: ops: Simplify with cleanup.h 2024-07-08 12:50:02 +01:00
soc-pcm.c ASoC: soc-pcm: Indicate warning if dpcm_playback/capture were used for availability limition 2024-08-22 13:36:45 +01:00
soc-topology-test.c
soc-topology.c ASoC: topology: Unify code for creating standalone and widget enum control 2024-07-02 14:27:08 +01:00
soc-utils-test.c
soc-utils.c ASoC: soc-utils: allow sample rate up to 768kHz for the dummy dai 2024-06-28 13:39:29 +01:00