aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2017-02-14 10:23:32 -0800
committerDavid S. Miller <[email protected]>2017-02-17 11:03:06 -0500
commit6f7aa56bae6ff38727d5c8bf6ee7d4202b4e3865 (patch)
tree14f800474cdfab3fa80eedb0462d84a52e82b08c /tools/perf/scripts/python
parent882f312dc0751c973db26478f07f082c584d16aa (diff)
ptp: use kcalloc when allocating arrays
kcalloc is more semantically correct when allocating arrays of objects, and overflow-safe. Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions