diff options
author | Yihao Han | 2022-03-17 02:38:41 -0700 |
---|---|---|
committer | Mark Brown | 2022-03-17 17:56:33 +0000 |
commit | b26f965f7c83464f60d5af411ef9a03079e41800 (patch) | |
tree | c61b43cae06700a373f1250c3b996d7e5513bacf /drivers/media | |
parent | 753132f0394b7e3cebe805a6c626a02e75766f7f (diff) |
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: Yihao Han <hanyihao@vivo.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220317093841.3414-1-hanyihao@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions