[PATCH 0/5] IB/hfi1: Fine-tuning for three function implementations
From: SF Markus Elfring
Date: Fri Feb 10 2017 - 16:00:36 EST
From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Feb 2017 21:53:21 +0100
A few update suggestions were taken into account
from static source code analysis.
Markus Elfring (5):
Use kcalloc() in hfi1_user_exp_rcv_init()
Use kcalloc() in hfi1_user_sdma_alloc_queues()
Adjust another size determination in hfi1_user_sdma_alloc_queues()
Use memdup_user() rather than duplicating its implementation in hfi1_user_sdma_process_request()
Improve another size determination in hfi1_user_sdma_process_request()
drivers/infiniband/hw/hfi1/user_exp_rcv.c | 5 +++--
drivers/infiniband/hw/hfi1/user_sdma.c | 35 +++++++++++++++----------------
2 files changed, 20 insertions(+), 20 deletions(-)
--
2.11.1