Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4581688imw; Tue, 19 Jul 2022 09:13:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vIqIuihCNy1Z/z/5vm5QXK+nC8xZjn0DOgcIZkNBwkg10FRkX3x/aEQ+zT0qSCWDzlexCy X-Received: by 2002:a05:6808:d4d:b0:339:cadb:89d0 with SMTP id w13-20020a0568080d4d00b00339cadb89d0mr48828oik.238.1658247217466; Tue, 19 Jul 2022 09:13:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658247217; cv=none; d=google.com; s=arc-20160816; b=YmgDOE0blp/Dq9jhsX0FGPolSOyGMuAJp4+qCd6SON0TENpDFmxfEnm9oTxUSaDbUL UMRSo3HvQPd1pmDKLc7qqh6apddh+wHDFYbqz9fwQ9UhageHva4sVqsKdDZE6S8M7cvS f+xhHRV5BVxBjGbEysYvzo2GIgznJbhNQqB9Syxc1t9DXhb9k90dsfx4LK+DlaGOaiP7 XQlIwcCq7HNIeGI74LUL3U2cFgqYMjPIdKZVidQcnptt6tIBI0D1EBd9aJDc2VgVQApP U8WSEmaZ6OVaudZHamKJedPwku7M2xxQ9tTz+KkZCoWNlUte7B+gMmjiJElkkkXkqvdm kPBg== 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=GBqw7g2VFZrP0QaQsmarvv1FBNKM0XrvWoybm3lbNrg=; b=bBDbJla8muyvu7DdCh3R5F+sWVtjCFP8LZg8v772RT+J5l+S5SWnf3tiSA5Wyp3fMh 3qIdUl8Dzu4q4IaOqHZ+51owesvaN0glyHlh76kevHL45vBXu58HuL+TLErldfNKubme bH4TrgVE4IpkP03HK94JfnDB799K/TCWJDsFeIWyJd84ovJkwDICX4hRl7+eMhA+si2S ipZzU7ya3IW2fIs+jcSTdDOyWDw9tVq7BNasX3eFY3WSzYTADfOYYCo2jk53bpzY1rA8 TaHHmomoH871P6R9VPkL9LFLpDQpl4CS/9n4AHKcc4+spqpNpIJc0XraBXZ9SZlxVzSh jnzQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m6-20020a9d6446000000b00616982e214bsi12874530otl.245.2022.07.19.09.13.23; Tue, 19 Jul 2022 09:13:37 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234397AbiGSPgp (ORCPT + 99 others); Tue, 19 Jul 2022 11:36:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235987AbiGSPgn (ORCPT ); Tue, 19 Jul 2022 11:36:43 -0400 Received: from smtp.smtpout.orange.fr (smtp07.smtpout.orange.fr [80.12.242.129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30FB2474DA for ; Tue, 19 Jul 2022 08:36:41 -0700 (PDT) Received: from [192.168.1.18] ([90.11.190.129]) by smtp.orange.fr with ESMTPA id DpH2oh7Z2sKAkDpH2oqpnh; Tue, 19 Jul 2022 17:36:39 +0200 X-ME-Helo: [192.168.1.18] X-ME-Auth: YWZlNiIxYWMyZDliZWIzOTcwYTEyYzlhMmU3ZiQ1M2U2MzfzZDfyZTMxZTBkMTYyNDBjNDJlZmQ3ZQ== X-ME-Date: Tue, 19 Jul 2022 17:36:39 +0200 X-ME-IP: 90.11.190.129 Message-ID: <7075158a-64c1-8f69-7de1-9a60ee914f05@wanadoo.fr> Date: Tue, 19 Jul 2022 17:36:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 1/2] RDMA/erdma: Use the bitmap API to allocate bitmaps Content-Language: en-US To: Cheng Xu , Jason Gunthorpe Cc: Kai Shen , Dan Carpenter , Leon Romanovsky , 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> From: Christophe JAILLET In-Reply-To: <20220719130125.GB2316@kadam> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 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, checkpatch.pl only gives hints and should not blindly be taken as THE reference, but: ./scripts/checkpatch.pl -f --strict drivers/infiniband/hw/erdma/erdma_cmdq.c gives: CHECK: Lines should not end with a '(' #81: FILE: drivers/infiniband/hw/erdma/erdma_cmdq.c:81: + cmdq->comp_wait_bitmap = devm_bitmap_zalloc( total: 0 errors, 0 warnings, 1 checks, 493 lines checked (some other files in the same directory also have some checkpatch warning/error) Don't know if it may be an issue for maintainers. CJ