diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-01-20 16:30:18 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2017-04-20 11:37:55 +1000 |
commit | 37655490db757a8ef9141830428485395b86e8fa (patch) | |
tree | ccbdf74c5c5f40a2906e800cfb326e51fb69ace3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a1c52e1c7cb9fb8714b89b7bb5773c498e39e38b (diff) |
KVM: PPC: e500: Use kcalloc() in e500_mmu_host_init()
* 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 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 <elfring@users.sourceforge.net>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions