diff options
author | 2016-08-28 18:40:08 +0200 | |
---|---|---|
committer | 2016-09-12 10:13:01 +1000 | |
commit | 90235dc19e5ccd85ad17ebbf51041770e87540a0 (patch) | |
tree | 309224dc42c591a62fe2d3a991918dbfc4bc3dd8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: PPC: e500: Replace kzalloc() calls by kcalloc() in two functions (diff) | |
download | linux-dev-90235dc19e5ccd85ad17ebbf51041770e87540a0.tar.xz linux-dev-90235dc19e5ccd85ad17ebbf51041770e87540a0.zip |
KVM: PPC: e500: Use kmalloc_array() in kvmppc_e500_tlb_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 "kmalloc_array".
* 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: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions