aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2017-02-09 16:06:12 +0100
committerDoug Ledford <[email protected]>2017-04-20 16:23:25 -0400
commit147d84e1e3a0d0920004362d3f4f6d2d24581508 (patch)
treef6ff653ac2b3b6ab5e30d1e01cd41a08e2971e03 /tools/perf/scripts/python
parent4076e5187ddc2aac7b66c72c3cb365aeee1f8b28 (diff)
IB/hfi1: Use kcalloc() in hfi1_user_sdma_alloc_queues()
* Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus reuse the corresponding function "kcalloc". This issue was detected by using the Coccinelle software. * Replace the specification of a data type by a pointer dereference to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Markus Elfring <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions