[PATCH 0/7] RapidIO: Adjustments for some function implementations

From: SF Markus Elfring
Date: Fri Dec 15 2017 - 05:27:08 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
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