Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp977754pxf; Wed, 7 Apr 2021 16:39:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzG/76b9E+1qEXs74IFg1AuZSw3rIc7pvgDwtqA9IAnK8qPS+rklvcZ4K4UD6KagJnzMYAq X-Received: by 2002:a17:90a:20c:: with SMTP id c12mr5481315pjc.224.1617838770476; Wed, 07 Apr 2021 16:39:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617838770; cv=none; d=google.com; s=arc-20160816; b=kBRogtYuu0oSV0beuJCDHqsjRI4psT20wHNF+D73wUss8GV6/DDvT54+XuaGeQj2b2 KBAb2wvLXRU4d5ehELTmMYQYmjkcfofs2NN+KR31e6LcHym/omsEFRPl/ZsBfuJC9OoW zNj+RtA5udSc5POhIyKai5LTpseSJ4J2gpHgFSn4BLZlq3+QCvOfiKePQfs1kzJetm32 k5h0+4ZvM5n9DpbKWOeU4rvjahoKLEyw6qpVIUcgIBjmEY9DU+A9KtLeG/oSe8leC5Hs gWl+hRV7bF9FLIP7prqBnHPOqvmb16fiCHEoUb4RA7w8qG96DZ/xw7DorbMFyEWihu2y 5WwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:bimi-selector :from:references:cc:to:subject:dkim-signature:dkim-filter; bh=sRQ/Lrm5YctprFhxVHSSckbUfrGsc6U25VUJIbk4UJU=; b=IHFjMZuiTvclxVHXuWyTVcMrfslQopZnMKIYmr8xCctGxC8jWazXQ+LkNIe9iMUQWT RPxcoAm9eeHGPf56uJuN5yHhjb/ouDJ+KV2SFmJsH7vZ1PEQ3S6/DMlBx3SUXpeBBibH L4T8QNySrU8GM3miYy6gvpZuZ6DQ2i7RuaPqB9ULO9AEM7RNnQqTt6G2feEs1wQLZbLz nrWnfLLxqVofzUxoz7A1yj/eql4syqa/jBZKYCLHsdHH/KhLlRP2icWNroNs5CqRps9M eeuhP/h9BvfY3ootzcbAqpQpdW9jl6qazZ4qCuH6UAq9Uo03UgquTJ9izoZDK6FHSgwm v/+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@petrovitsch.priv.at header.s=default header.b=sFdwdWcj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=petrovitsch.priv.at Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s25si3920746pfh.8.2021.04.07.16.39.17; Wed, 07 Apr 2021 16:39:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@petrovitsch.priv.at header.s=default header.b=sFdwdWcj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=petrovitsch.priv.at Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229564AbhDGXiE (ORCPT + 99 others); Wed, 7 Apr 2021 19:38:04 -0400 Received: from esgaroth.petrovitsch.at ([78.47.184.11]:43610 "EHLO esgaroth.petrovitsch.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbhDGXiB (ORCPT ); Wed, 7 Apr 2021 19:38:01 -0400 X-Greylist: delayed 3592 seconds by postgrey-1.27 at vger.kernel.org; Wed, 07 Apr 2021 19:38:00 EDT Received: from thorin.petrovitsch.priv.at (80-110-93-117.cgn.dynamic.surfer.at [80.110.93.117]) (authenticated bits=0) by esgaroth.petrovitsch.at (8.16.1/8.16.1) with ESMTPSA id 137MbjSX2151151 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT); Thu, 8 Apr 2021 00:37:47 +0200 DKIM-Filter: OpenDKIM Filter v2.11.0 esgaroth.petrovitsch.at 137MbjSX2151151 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=petrovitsch.priv.at; s=default; t=1617835069; bh=sRQ/Lrm5YctprFhxVHSSckbUfrGsc6U25VUJIbk4UJU=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=sFdwdWcj9OdVPl+hUYQs5bYYEjLpxNKhph00ykqVUPTIsmJd4ovnE4aheyihdisgs dJOqJI/cU4Y8XtPpeXlGCm2kJ8UXa3VH9R4TV8zFxdbjWb6VOIMegEtv/SqgOAHJMe gt/pSEO4b8pMyxbsx9ncVr5F/kY/j7VJVG7tH9y4= X-Info-sendmail: I was here Subject: Re: [PATCH net-next] net: mana: Add a driver for Microsoft Azure Network Adapter (MANA) To: Dexuan Cui , Leon Romanovsky Cc: Andrew Lunn , "davem@davemloft.net" , "kuba@kernel.org" , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , "wei.liu@kernel.org" , Wei Liu , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" References: <20210406232321.12104-1-decui@microsoft.com> From: Bernd Petrovitsch Bimi-Selector: v=BIMI1; s=default Message-ID: <0d84ef1b-debf-8d5b-0c8d-cb83427b0435@petrovitsch.priv.at> Date: Thu, 8 Apr 2021 00:37:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-DCC-Etherboy-Metrics: esgaroth.petrovitsch.priv.at 1002; Body=13 Fuz1=13 Fuz2=13 X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A autolearn=unavailable autolearn_force=no version=3.4.4 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from * author's domain * -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from * envelope-from domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.0 NICE_REPLY_A Looks like a legit reply (A) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on esgaroth.petrovitsch.priv.at Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all! On 07/04/2021 23:59, Dexuan Cui wrote: [...] > FWIW, {0} and { 0 } are still widely used, but it looks like > {} is indeed more preferred: > > $ grep "= {};" drivers/net/ -nr | wc -l > 829 $ egrep -nr "=[[:space:]]*{[[:space:]]*};" drivers/net/ | wc -l 872 > $ grep "= {0};" drivers/net/ -nr | wc -l > 708 $ egrep -nr "=[[:space:]]*{[[:space:]]*0[[:space:]]*};" drivers/net/ | wc -l 1078 > $ grep "= {};" kernel/ -nr | wc -l > 29 $ egrep -nr "=[[:space:]]*{[[:space:]]*};" kernel/ | wc -l 45 > $ grep "= {0};" kernel/ -nr | wc -l > 4 $ egrep -nr "=[[:space:]]*{[[:space:]]*0[[:space:]]*};" kernel | wc -l 8 MfG, Bernd -- Bernd Petrovitsch Email : bernd@petrovitsch.priv.at There is NO CLOUD, just other people's computers. - FSFE LUGA : http://www.luga.at