From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033587AbdDTU34 (ORCPT ); Thu, 20 Apr 2017 16:29:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34932 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S947335AbdDTU3y (ORCPT ); Thu, 20 Apr 2017 16:29:54 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 66A8637F1F Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=dledford@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 66A8637F1F Message-ID: <1492720191.3041.10.camel@redhat.com> Subject: Re: [PATCH 0/5] IB/hfi1: Fine-tuning for three function implementations From: Doug Ledford To: SF Markus Elfring , linux-rdma@vger.kernel.org, Dennis Dalessandro , Hal Rosenstock , Mike Marciniszyn , Sean Hefty Cc: LKML , kernel-janitors@vger.kernel.org Date: Thu, 20 Apr 2017 16:29:51 -0400 In-Reply-To: <8a997282-09c7-0f9f-645e-d7c6e8c79e67@users.sourceforge.net> References: <8a997282-09c7-0f9f-645e-d7c6e8c79e67@users.sourceforge.net> Organization: Red Hat, Inc. Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 20 Apr 2017 20:29:53 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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