aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-04-09 09:06:00 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2017-05-02 01:21:05 -0400
commitf1725110324d97d841609fd0b3536eb3ead77086 (patch)
treedd8838a43c9eb4ee43d58c1762f35d59fce81235 /tools/perf/scripts/python/export-to-postgresql.py
parent056e8924a072d22007275dfb8b247bb814765b67 (diff)
iscsi-target: Use kcalloc() in iscsit_allocate_iovecs()
* A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kcalloc". This issue was detected by using the Coccinelle software. * Replace the specification of a data structure 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 <elfring@users.sourceforge.net> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions