From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Fri, 07 Apr 2017 20:54:24 +0000 Subject: [PATCH 0/9] InfiniBand-ULP: Fine-tuning for several function implementations Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, target-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, David Ahern , Doug Ledford , Erez Shitrit , Feras Daoud , Hal Rosenstock , Leon Romanovsky , Mark Bloch , Or Gerlitz , Paolo Abeni , Roi Dayan , Sagi Grimberg , Sean Hefty , Yuval Shaia , Zhu Yanjun Cc: LKML , kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org From: Markus Elfring Date: Fri, 7 Apr 2017 22:34:32 +0200 Some update suggestions were taken into account from static source code analysis. Markus Elfring (9): IPoIB: Use kcalloc() in two functions IPoIB: Delete an error message for a failed memory allocation IPoIB: Enclose six expressions for the sizeof operator by parentheses IPoIB: Delete unwanted spaces behind usages of the sizeof operator IPoIB: Combine substrings for three messages iser: Use kmalloc_array() in iser_alloc_rx_descriptors() iser: Add spaces for better code readability isert: Use kcalloc() in isert_alloc_rx_descriptors() isert: Improve size determinations in three functions drivers/infiniband/ulp/ipoib/ipoib_main.c | 49 ++++++++++++++-------------- drivers/infiniband/ulp/iser/iser_initiator.c | 11 ++++--- drivers/infiniband/ulp/isert/ib_isert.c | 11 ++++--- 3 files changed, 36 insertions(+), 35 deletions(-) -- 2.12.2