diff options
author | Shen Lichuan <shenlichuan@vivo.com> | 2024-08-26 13:44:02 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-26 15:52:35 +0100 |
commit | 69a8d0edb9d78bb5515133b7c08f399d6eaff37a (patch) | |
tree | 9ffe710a62b44505f4d36792a014d41c399bca23 /CREDITS | |
parent | 0225d3b9efe3daca332befaa0c4ce2f119297d5a (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 'CREDITS')
0 files changed, 0 insertions, 0 deletions