Skip to content
Unverified Commit b26f965f authored by Yihao Han's avatar Yihao Han Committed by Mark Brown
Browse files

ASoC: SOF: topology: Use kmemdup() to replace kzalloc + memcpy



fix memdup.cocci warning:
sound/soc/sof/topology.c:876:19-26: WARNING opportunity for kmemdup

Generated by: scripts/coccinelle/api/memdup.cocci

Signed-off-by: default avatarYihao Han <hanyihao@vivo.com>
Acked-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220317093841.3414-1-hanyihao@vivo.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 753132f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment