diff options
| author | 2024-08-26 13:44:02 +0800 | |
|---|---|---|
| committer | 2024-08-26 15:52:35 +0100 | |
| commit | 69a8d0edb9d78bb5515133b7c08f399d6eaff37a (patch) | |
| tree | 9ffe710a62b44505f4d36792a014d41c399bca23 /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | ASoC: MAINTAINERS: Drop incorrect tlv320aic31xx.txt path (diff) | |
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>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
