lkml.org 
[lkml]   [2017]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] IB/hfi1: Fine-tuning for three function implementations
Date
From: Markus Elfring <elfring@users.sourceforge.net>
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

\
 
 \ /
  Last update: 2017-02-10 22:01    [W:0.107 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site