aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-04-09 13:02:38 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2017-05-02 01:21:27 -0400
commit55ec409202ff347d22673d90e01a159d3bd6d9cd (patch)
treef3ea319b1961a0156f1618277babaa318b5420a5 /tools/perf/scripts/python
parent3829f38169aaf38c764afba852e320d8f3b006de (diff)
target: Use kcalloc() in two functions
* Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus use the corresponding function "kcalloc". This issue was detected by using the Coccinelle software. * Replace the specification of data structures by pointer dereferences to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions