summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-06-03 19:09:07 +0200
committerTony Lindgren <tony@atomide.com>2017-06-08 03:02:31 -0700
commit6b72de4d331f058dbd8fa327f1e5d0a729583f56 (patch)
tree3bbf45c73ce68fe53b9a3d27c6524a47997e64c5 /tools/perf/scripts/python/export-to-sqlite.py
parent1dfb5b59d6571104eff6629a0e73a6af347a3226 (diff)
ARM: OMAP2+: Use kcalloc() in sr_set_nvalues()
* 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: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions