[PATCH 0/5] PowerPC-pSeries: Adjustments for seven function implementations

From: SF Markus Elfring
Date: Wed Oct 18 2017 - 15:20:56 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Oct 2017 21:11:23 +0200

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

Markus Elfring (5):
Delete five error messages for a failed memory allocation
Improve nine size determinations
Delete an unnecessary variable initialisation in iommu_pseries_alloc_group()
Return directly after a failed kzalloc_node() in iommu_pseries_alloc_group()
Less function calls in iommu_pseries_alloc_group() after error detection

arch/powerpc/platforms/pseries/dlpar.c | 5 ++--
arch/powerpc/platforms/pseries/dtl.c | 5 +---
arch/powerpc/platforms/pseries/hvcserver.c | 7 ++----
arch/powerpc/platforms/pseries/iommu.c | 40 ++++++++++++------------------
arch/powerpc/platforms/pseries/vio.c | 9 +++----
5 files changed, 24 insertions(+), 42 deletions(-)

--
2.14.2