Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753014AbeAJTXo (ORCPT + 1 other); Wed, 10 Jan 2018 14:23:44 -0500 Received: from mout.web.de ([212.227.17.11]:62414 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751458AbeAJTXm (ORCPT ); Wed, 10 Jan 2018 14:23:42 -0500 To: kernel-janitors@vger.kernel.org, Al Viro , Alexey Dobriyan , Andrew Morton , Arnd Bergmann , Dan Carpenter , Greg Kroah-Hartman , "Gustavo A. R. Silva" , Ingo Molnar , Masahiro Yamada From: SF Markus Elfring Subject: [PATCH 0/7] VMCI: Adjustments for several function implementations Cc: LKML Message-ID: <2747f123-a95d-bc68-b858-0327dce3758b@users.sourceforge.net> Date: Wed, 10 Jan 2018 20:23:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:ReqbI5o+f/kxH1JdmymmLZdCQ9+ces6lN7NWzS0Dz2vrmTWCJk8 5QzyQBYiH7vnF2gJDniJHMhS9DBs5Lb41kzfKV4EHSGPstgdinf3CQB1T02KQZIVpdR5NhN kX67MqThlBiUXn1NRRizAzKnVff6M227btVosLmiMsLtnJ6OCGZuY4vWmodEyAlJ/xdbc3E keRQKwbTTe25o0a382fGg== X-UI-Out-Filterresults: notjunk:1;V01:K0:hMtm/DOUwa0=:MHIg4zo8HrPwotngN8vTPv Quab3PC/7GKdkGg1sKUoXhlcagHxA4MNcSHLWaHg6frtDdclAu3KeaulCCRnLxO6vkS3qCs6j N2bJb8qh4M7MsESB/1Bc+E2Sl1nU/A4o7kU1XlSZrQGZwwwucxlTunQhg2U5nRvfeVRf65HM3 +8wR08H6T8Q8AadzfZxXf8Ba+bL3x0+NnqFL7dKoBKJgdlvTs3qv6jXWiVTYVmPyx+TJaQuIi YufFZE0vXTEbqO3M63w4VUFYPZC1GJdgHm2bZYn9omlLlXHlmsKAygUZLRoqEhzkAWCOvkWva KBXPgOipL3uq5PvAlXwykjJ/xYwUeISHsdAewpgYPtawSZhMBOjQYgBiWhpZS0wzbz/AQFAa5 q8Nbg8vI3awISWpR2vGaSm7sFf9j7MoJ31NC/FdjDtd12zMbyUvjvGplWCJ3ZKYxT39HjiGhc bWX2FLQ8lAEdlInEwQADU/r34rEFyMZX9fBbuqU67xayxfRHJ1OSk/Kn+ApkP0AFOVTTV6Ijm LqDykCkrEXOPAknW+rPpgmCziAzO0L4LJ6p5JGy7gZjb/oDdEeMCICioJv6LqWjOf2bHT6b46 heNnfdzbep2cEca0bpOt4/wEbs/OtgtYt0DeRf8sEaXEJHOmssz7mhneCo0Bbbf85CDFwz5A6 CkjN9NHN2VxkUPmAUV/R0kowE2LYGvOUri2oPdvPQIeQlXb43o1sc4YAjoLe/CKzPU8hXrN29 QLWSjFNqKpSzdsWeAC0ex97bx7Z3Ghj2mTkNHEaiFyhbCk4dgk55SL7IBPkRXF2c87kVNxbyY r18TbYym14hr/zPr1JdIIZuv7URFiki7wCmZCsSnPFOXGhOz8I= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Markus Elfring 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