aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorYan Zhen <[email protected]>2024-08-23 19:08:24 +0800
committerMiquel Raynal <[email protected]>2024-08-23 19:25:51 +0200
commit175086cf4acdf4ccd3d7a6bb5c5231ececd6656b (patch)
tree55d44283b9dbab79a433eff78a0d69435a911d46 /tools/perf/util/scripting-engines/trace-event-python.c
parente334c01df28225139cc831e4871c590a7851b4fc (diff)
mtd: concat: Use kmemdup_array instead of kmemdup for multiple allocation
When we are allocating an array, using kmemdup_array() to take care about multiplication and possible overflows. Also it makes auditing the code easier. Signed-off-by: Yan Zhen <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions