Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp373132imi; Thu, 21 Jul 2022 02:42:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vYDFiAPUF8KUOhWPCghbihtwqQLn2WzWmgKbmKgoDAR8C4hpj97bQVHLcJ2Y9wvnmgbrqY X-Received: by 2002:a65:57c6:0:b0:415:c329:5d49 with SMTP id q6-20020a6557c6000000b00415c3295d49mr36143768pgr.581.1658396567739; Thu, 21 Jul 2022 02:42:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658396567; cv=none; d=google.com; s=arc-20160816; b=oOOmp1bEML3cBKH4hKFPv15DABXg9NMioDCfKR4R1m+4KAZEh3xNRENGPqWy5brROA F4EB5NW07JnSSREHjwuBZ+bsKao8AlE+1m0b4Us+ZUxHuarfQM8IYouyZwmPEwhMm0i5 3sn2W24aRziqjXkw0Qzua8CayhFWtYHqXmDYvaS17PGC1Won2IkN16Lrp5IWid0BUAT0 9B3nFKoXuSyChmbtKCFtPTVVuPnHTv1y8Nk8io6p/2Ao1xpYHfCcu7987wkL2TboAB8X arCL1wjX3eu3+Ln+5SfxgNe4pXXellbZZtb8NG3zpuF9aVU3iz+fuaOKdhE9awttgnoQ /vCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=w3myN5eQ7twTQftBmfn+OmjaeaYM9wuzCpcWsT/gd4o=; b=xcdp2XC8Sysh9nkQg7acHPEYMHRPP7spT34HfnMfZe7TMdJjvGkBIxVl73s9cWatbC 1Pgsfan4m2/G8XU0Wtfon0FoSOiP5n55YB0c7C4F441ufKyYi2L7Qr+e0RrdN0kjykzq 3AY/j0IMwDY8UaIAbMUllWx8KJGE7+Lwn9g3VZMYVXBDpToa2BkvmQsY+ADWRuNsRK3G XYqOKCUa/U4FjraG1ARuCmMmp4+hIigFGHYiS1z6MBiG35ViXOPe/HohoQzoK+qCKoBG vGwyuc7FHr9cgskG9FDBFi6VaxQuTJvPxbWSWSEgzFbQe2Z6MIGdTjT8FaeiRG79n6zh 6pBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z11-20020a170902cccb00b0015e9ff43b64si1522670ple.585.2022.07.21.02.42.32; Thu, 21 Jul 2022 02:42:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232854AbiGUJO7 (ORCPT + 99 others); Thu, 21 Jul 2022 05:14:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232829AbiGUJO6 (ORCPT ); Thu, 21 Jul 2022 05:14:58 -0400 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60DBF3FA23; Thu, 21 Jul 2022 02:14:56 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R891e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=chengyou@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0VK.RF5m_1658394892; Received: from 192.168.0.4(mailfrom:chengyou@linux.alibaba.com fp:SMTPD_---0VK.RF5m_1658394892) by smtp.aliyun-inc.com; Thu, 21 Jul 2022 17:14:54 +0800 Message-ID: <6f684f43-4c98-8f27-abea-02ad5f68cef1@linux.alibaba.com> Date: Thu, 21 Jul 2022 17:14:52 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 1/2] RDMA/erdma: Use the bitmap API to allocate bitmaps Content-Language: en-US To: Leon Romanovsky Cc: Christophe JAILLET , Jason Gunthorpe , Kai Shen , Dan Carpenter , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-rdma@vger.kernel.org References: <2764b6e204b32ef8c198a5efaf6c6bc4119f7665.1657301795.git.christophe.jaillet@wanadoo.fr> <670c57a2-6432-80c9-cdc0-496d836d7bf0@linux.alibaba.com> <20220712090110.GL2338@kadam> <20220719125434.GG5049@ziepe.ca> <20220719130125.GB2316@kadam> <7075158a-64c1-8f69-7de1-9a60ee914f05@wanadoo.fr> <5bcd437f-92a4-1c04-796c-41559dd2823a@linux.alibaba.com> From: Cheng Xu In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/21/22 3:31 PM, Leon Romanovsky wrote: > On Wed, Jul 20, 2022 at 09:58:24AM +0800, Cheng Xu wrote: >> >> >> On 7/19/22 11:36 PM, Christophe JAILLET wrote: >>> Le 19/07/2022 à 15:01, Dan Carpenter a écrit : >>>> On Tue, Jul 19, 2022 at 09:54:34AM -0300, Jason Gunthorpe wrote: >>>>> On Tue, Jul 12, 2022 at 12:01:10PM +0300, Dan Carpenter wrote: >>>>> >>>>>> Best not to use any auto-formatting tools.  They are all bad. >>>>> >>>>> Have you tried clang-format? I wouldn't call it bad.. >>>> >>>> I prefered Christophe's formatting to clang's.  ;) >>>> >>>> regards, >>>> dan carpenter >>>> >>>> >>> >>> Hi, >>> >>> (some other files in the same directory also have some checkpatch warning/error) >> >> I just double checked the checkpatch results, Two type warnings reported: >> >> - WARNING: Missing commit description - Add an appropriate one (for patch 0001) >> - WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? (for almost all patches except 0001/0011) >> >> For the first warning, the change is very simple: add erdma's >> rdma_driver_id definition, I think the commit title can describe >> all things, and is enough. > > To be clear, our preference is to have commit message in any case, even > for simple changes. > Sorry for this, I didn't know it previously. Before I sent our patches, I reviewed the EFA/SIW's upstreaming history, and siw only has one line commit title for simply changes, I followed. I will update our patches to fix it in a few days, and collect potential feedback of erdma code in linux-next. Thanks, Cheng Xu