aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorShen Lichuan <[email protected]>2024-08-27 15:21:15 +0800
committerJohannes Berg <[email protected]>2024-08-27 10:28:56 +0200
commitd07e1f5c745058d1805e7d8042b9a326b120cb6e (patch)
treec5941072c9bf6c32512349261a817f4a06698e05 /tools/perf/scripts/python/parallel-perf.py
parent32bf7729d2e67aed4a6c537bf21d2023e3f39c45 (diff)
wifi: mac80211: 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]> Reviewed-by: Michal Swiatkowski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions