summaryrefslogtreecommitdiff
path: root/curve_test.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-11curve: move selftest to own fileDaniel Borkmann1-0/+80
Move the curve selftest to its own file. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
/td>2016-09-12 10:13:01 +1000 commit90235dc19e5ccd85ad17ebbf51041770e87540a0 (patch) tree309224dc42c591a62fe2d3a991918dbfc4bc3dd8 parentb0ac477bc4efd6b9a3eccc106e597edf27546c11 (diff)
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
-rw-r--r--arch/powerpc/kvm/e500_mmu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/powerpc/kvm/e500_mmu.c b/arch/powerpc/kvm/e500_mmu.c