diff options
author | 2024-08-26 13:44:02 +0800 | |
---|---|---|
committer | 2024-08-26 15:52:35 +0100 | |
commit | 69a8d0edb9d78bb5515133b7c08f399d6eaff37a (patch) | |
tree | 9ffe710a62b44505f4d36792a014d41c399bca23 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ASoC: MAINTAINERS: Drop incorrect tlv320aic31xx.txt path (diff) | |
download | wireguard-linux-69a8d0edb9d78bb5515133b7c08f399d6eaff37a.tar.xz wireguard-linux-69a8d0edb9d78bb5515133b7c08f399d6eaff37a.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions