PowerPC-KVM: Fine-tuning for some function implementations
Status from this message: NACK, current code uses consistent style.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/11] PowerPC-KVM: Fine-tuning for some function implementations
From: Markus Elfring <[email protected]>
Date: Fri, 20 Jan 2017 19:07:21 +0100
Some update suggestions were taken into account
from static source code analysis.
Markus Elfring (11):
Move assignments for the variable "err" in kvm_htab_write() Improve a size determination in kvmppc_alloc_hpt() Move error code assignments in two functions
Use common error handling code in kvmppc_clr_passthru_irq() Adjust nine checks for null pointers
Use kcalloc() in kvmppc_alloc_host_rm_ops()
Improve size determinations in five functions
Use seq_puts() in xics_debug_show()
Improve a size determination in two functions
Use kcalloc() in e500_mmu_host_init()
Return directly after a failed copy_from_user() in two functions
arch/powerpc/kvm/book3s_64_mmu_hv.c | 26 +++++++------ arch/powerpc/kvm/book3s_hv.c | 73 +++++++++++++++++++------------------ arch/powerpc/kvm/book3s_xics.c | 7 ++-- arch/powerpc/kvm/e500_mmu_host.c | 5 +-- arch/powerpc/kvm/powerpc.c | 48 ++++++++++-------------- 5 files changed, 75 insertions(+), 84 deletions(-)
Signature · 1 line
2.11.0