[PATCH 0/6] KVM: PPC: e500: Fine-tuning for two function implementations

From: SF Markus Elfring
Date: Sun Aug 28 2016 - 13:10:27 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 28 Aug 2016 19:01:02 +0200

Several update suggestions were taken into account
from static source code analysis.

Markus Elfring (6):
Use kmalloc_array() in kvm_vcpu_ioctl_config_tlb()
Less function calls in kvm_vcpu_ioctl_config_tlb() after error detection
Delete an unnecessary initialisation in kvm_vcpu_ioctl_config_tlb()
Replace kzalloc() calls by kcalloc() in two functions
Use kmalloc_array() in kvmppc_e500_tlb_init()
Rename jump labels in kvmppc_e500_tlb_init()

arch/powerpc/kvm/e500_mmu.c | 71 +++++++++++++++++++++++----------------------
1 file changed, 36 insertions(+), 35 deletions(-)

--
2.9.3