aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorShen Lichuan <[email protected]>2024-08-26 13:44:02 +0800
committerMark Brown <[email protected]>2024-08-26 15:52:35 +0100
commit69a8d0edb9d78bb5515133b7c08f399d6eaff37a (patch)
tree9ffe710a62b44505f4d36792a014d41c399bca23 /tools/perf/util/scripting-engines/trace-event-python.c
parent0225d3b9efe3daca332befaa0c4ce2f119297d5a (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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions