[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <53545d97-6ed5-ff17-384f-82e72b3592f9@users.sourceforge.net>
Date: Thu, 19 Jan 2017 17:52:26 +0100
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: linuxppc-dev@...ts.ozlabs.org,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Daniel Axtens <dja@...ens.net>,
Geliang Tang <geliangtang@....com>,
Michael Ellerman <mpe@...erman.id.au>,
Nathan Fontenot <nfont@...ux.vnet.ibm.com>,
Pan Xinhui <xinhui.pan@...ux.vnet.ibm.com>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
Paul Mackerras <paulus@...ba.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: [PATCH 0/8] PowerPC-NVRAM: Fine-tuning for some function
implementations
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Thu, 19 Jan 2017 17:41:23 +0100
Some update suggestions were taken into account
from static source code analysis.
Markus Elfring (8):
Return directly after a failed parameter validation in dev_nvram_write()
Return directly after a failed kmalloc() in dev_nvram_write()
Move an assignment for the variable "ret" in dev_nvram_write()
Return directly after a failed parameter validation in dev_nvram_read()
Return directly after a failed kmalloc() in dev_nvram_read()
Delete three error messages for a failed memory allocation
Improve size determinations in three functions
Move an assignment for the variable "err" in nvram_scan_partitions()
arch/powerpc/kernel/nvram_64.c | 63 +++++++++++++++---------------------------
1 file changed, 22 insertions(+), 41 deletions(-)
--
2.11.0
Powered by blists - more mailing lists