[PATCH 0/5] IB/nes: Fine-tuning for some function implementations

From: SF Markus Elfring
Date: Mon Mar 06 2017 - 12:59:40 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 6 Mar 2017 18:26:34 +0100

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

Markus Elfring (5):
Use kcalloc() in nes_init_mgt_qp()
Use kcalloc() in nes_reg_user_mr()
Adjust 16 checks for null pointers
Delete unnecessary braces
Improve size determinations in two functions

drivers/infiniband/hw/nes/nes_mgt.c | 2 +-
drivers/infiniband/hw/nes/nes_verbs.c | 128 +++++++++++++---------------------
2 files changed, 50 insertions(+), 80 deletions(-)

--
2.12.0