lkml.org 
[lkml]   [2017]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 00/11] PowerPC-KVM: Fine-tuning for some function implementations
Date
From: Markus Elfring <elfring@users.sourceforge.net>
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(-)

--
2.11.0

\
 
 \ /
  Last update: 2017-01-20 19:19    [W:0.078 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site