From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Ledford Date: Thu, 20 Apr 2017 20:29:51 +0000 Subject: Re: [PATCH 0/5] IB/hfi1: Fine-tuning for three function implementations Message-Id: <1492720191.3041.10.camel@redhat.com> List-Id: References: <8a997282-09c7-0f9f-645e-d7c6e8c79e67@users.sourceforge.net> In-Reply-To: <8a997282-09c7-0f9f-645e-d7c6e8c79e67-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: SF Markus Elfring , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Dennis Dalessandro , Hal Rosenstock , Mike Marciniszyn , Sean Hefty Cc: LKML , kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On Fri, 2017-02-10 at 22:00 +0100, SF Markus Elfring wrote: > From: Markus Elfring > 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(-) I took 4 of the 5, leaving out the one that was addressed separately by an Intel patch. -- Doug Ledford     GPG KeyID: B826A3330E572FDD     Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD