From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.web.de (mout.web.de [217.72.192.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3yHMNd18KZzDrJg for ; Thu, 19 Oct 2017 06:21:04 +1100 (AEDT) To: linuxppc-dev@lists.ozlabs.org, Alex Williamson , Alexey Kardashevskiy , Andrew Morton , Bart Van Assche , Benjamin Herrenschmidt , David Gibson , Doug Ledford , Greg Kroah-Hartman , Johan Hovold , Masahiro Yamada , Michael Ellerman , Nathan Fontenot , Paul Mackerras , Rob Herring , Sahil Mehta , Tyrel Datwyler From: SF Markus Elfring Subject: [PATCH 0/5] PowerPC-pSeries: Adjustments for seven function implementations Cc: LKML , kernel-janitors@vger.kernel.org Message-ID: <0d221be4-1402-0499-d95e-afa4a30e1f33@users.sourceforge.net> Date: Wed, 18 Oct 2017 21:20:16 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Markus Elfring 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