[PATCH 0/7] VMCI: Adjustments for several function implementations

From: SF Markus Elfring
Date: Wed Jan 10 2018 - 14:23:49 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Jan 2018 20:13:45 +0100

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

Markus Elfring (7):
Delete error messages for a failed memory allocation in seven functions
Improve a size determination in two functions
Update a word in five comment lines
Delete an unnecessary null pointer check in qp_broker_create()
Delete an unnecessary variable initialisation in qp_broker_create()
Less function calls in qp_broker_create() after error detection
Adjust 32 checks for null pointers

drivers/misc/vmw_vmci/vmci_context.c | 24 +++++++-------
drivers/misc/vmw_vmci/vmci_datagram.c | 14 ++++----
drivers/misc/vmw_vmci/vmci_doorbell.c | 8 ++---
drivers/misc/vmw_vmci/vmci_guest.c | 16 +++------
drivers/misc/vmw_vmci/vmci_host.c | 10 ++----
drivers/misc/vmw_vmci/vmci_queue_pair.c | 57 ++++++++++++++++-----------------
6 files changed, 54 insertions(+), 75 deletions(-)

--
2.15.1