aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2017-02-09 15:30:53 +0100
committerDoug Ledford <[email protected]>2017-04-20 16:23:25 -0400
commit4076e5187ddc2aac7b66c72c3cb365aeee1f8b28 (patch)
treeec41cd82720b5fbf4ffdc92e5f6e4e2353a2ab5c /tools/perf/scripts/python
parenta9a42886d0b3b989166472b7ea59b1c157d90f9b (diff)
IB/hfi1: Use kcalloc() in hfi1_user_exp_rcv_init()
* A multiplication for the size determination of a memory allocation indicated that an array data structure 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