From: SF Markus Elfring Date: Fri, 15 Dec 2017 10:26:36 +0000 Subject: [PATCH 0/7] RapidIO: Adjustments for some function implementations Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org, Alexandre Bounine , Matt Porter Cc: LKML From: Markus Elfring Date: Fri, 15 Dec 2017 11:20:33 +0100 Some update suggestions were taken into account from static source code analysis. Markus Elfring (7): Delete an error message for a failed memory allocation in rio_init_mports() Adjust 12 checks for null pointers Adjust five function calls together with a variable assignment Improve a size determination in five functions Delete an unnecessary variable initialisation in three functions Return an error code only as a constant in two functions Move 12 EXPORT_SYMBOL_GPL() calls to function implementations drivers/rapidio/rio.c | 110 ++++++++++++++++++++++---------------------------- 1 file changed, 48 insertions(+), 62 deletions(-) -- 2.15.1