diff options
author | Yu Jiaoliang <[email protected]> | 2024-08-21 16:14:45 +0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-08-22 15:12:02 +0200 |
commit | d6f75d86aa786740ef7a7607685e9e1039e30aab (patch) | |
tree | 642afa4be88deaa9ac28832ea34c65e6182db02f /tools/perf/scripts/python/intel-pt-events.py | |
parent | 812a2751e827fa1eb01f3bd268b4d74c23f4226a (diff) |
nfp: bpf: Use kmemdup_array instead of kmemdup for multiple allocation
Let the kememdup_array() take care about multiplication and possible
overflows.
Signed-off-by: Yu Jiaoliang <[email protected]>
Signed-off-by: Louis Peens <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions