[PATCH 0/2] IB/hns: Fine-tuning for two function implementations

From: SF Markus Elfring
Date: Thu Feb 16 2017 - 04:01:13 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Feb 2017 09:55:43 +0100

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

Markus Elfring (2):
Use kmalloc_array() in hns_roce_cmd_use_events()
Use kcalloc() in hns_roce_buddy_init()

drivers/infiniband/hw/hns/hns_roce_cmd.c | 6 +++---
drivers/infiniband/hw/hns/hns_roce_mr.c | 11 ++++++-----
2 files changed, 9 insertions(+), 8 deletions(-)

--
2.11.1