Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1060667rwb; Tue, 27 Sep 2022 07:59:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4pMEy8kOzec2+m+xMh7IaQQZvu+MGyY2Vz3+L8hpQ9kBtGF4Jtde2ePpzSrnNsolU1Ki8I X-Received: by 2002:aa7:c382:0:b0:454:9591:79fe with SMTP id k2-20020aa7c382000000b00454959179femr28851024edq.253.1664290761960; Tue, 27 Sep 2022 07:59:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664290761; cv=none; d=google.com; s=arc-20160816; b=VuqouhhH8rE0toEuHmDgHYGteCh6E+HBhqyAMMI0cG8snHNrkP6k6EXIewhqk4BrqU XP3+BVuTDYSyJ1q87KJxY+SpeZf/PXUjoAHGW/kBZc0CuA5OkKKTbH/5E/ymv92jO/a/ 5j5HTLMW9VXoPTiv0ihAymcFbOiMJGU6hapSM3BvnwgNY+whJs/x7zFSkS6B+McWMzP6 2XKcl76yO3dGU00CEhKJzMIF7/Qj+QmC1+XEpoZ9M2i11WOK0PMkFeTW9qrLzz28bH47 tOrkv+FWyCJ9sXl030XjAbhcifAZ8sIXCVyww5ND1rNqFJhwAJVEEby4aC5FG9URX8lJ Layg== 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:dkim-signature; bh=mUB704FSEGxSOVArknJGqafUlGbK8/FllOe0WL2/T7w=; b=npYUezPnY18EJX4Cw0gyuLh2Ppsj1MbZPbV/LQV86opxgBHF7BB8v5KQyXXf1g83xW emVXvRRGCm5H9kAIS1zkW95HjbiYGD5tWbaKTiA7lP+KMa21kaUP8ZrzcCQPWcmwACms 6v93wiWN1PtX5D580qP3sFHx+0KcsVgvBA5tfmpxAo2AEweFYsU5cIFhMWtNuowfYxQz eKaibFD8djEdVsnkCaPEU4sDNDbtOgZxBlz8wBQ0egySWS96T3wetWzZWg7yNiToKwHE HlGvbB59vUn06izKilHTCj39fMHtOBugsFjCSgoFVwNK0nk7MYan7S+lFgLsDNOV0w63 Hb9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PipCI1tc; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q18-20020a170906145200b00780636a4a58si1333690ejc.626.2022.09.27.07.58.57; Tue, 27 Sep 2022 07:59:21 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PipCI1tc; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232917AbiI0N6W (ORCPT + 99 others); Tue, 27 Sep 2022 09:58:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232841AbiI0N5y (ORCPT ); Tue, 27 Sep 2022 09:57:54 -0400 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AF1114C041; Tue, 27 Sep 2022 06:57:52 -0700 (PDT) Received: by mail-qt1-x835.google.com with SMTP id cj27so6021449qtb.7; Tue, 27 Sep 2022 06:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=mUB704FSEGxSOVArknJGqafUlGbK8/FllOe0WL2/T7w=; b=PipCI1tcJgWnQmjn/22EAsWD11kC47AcgNPKWaFlmZdH2xcMZYOcI/vGZ4fbA6dIfR puPf3XKj83NkFy37waZvfGxF/zUKbMWJXlZCyFioAUalrn7pJjmxankgwvVOB1AAB5Pf WVPFxWNDS9jtqx5LlzmsLgWEa9UA/gUBLPTrd3UPoiB804wQmQFXnRz1+ZdawuM1I3lR ef6VhGUTDskhqz3M4UrTx+ue06wEMeG/ZMUwz1iwv/uA576cu6ndETRYUYfE1vC/ycEp CLTdHy0iBe4k1Trc0rzRLqCni03HCiBpR4d9swldF1d7dBpUDR38377AMnrAG5cX+pLt VfYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=mUB704FSEGxSOVArknJGqafUlGbK8/FllOe0WL2/T7w=; b=j5XPizaJoaJUxhImKj3PxcI2h5l3mtRa0m0EUiEUpFDnG26M11/JBV21Fnga6XCTPQ EGe+HUDsBM0vqsElYQeyY7GrdCVHD2Ma1wpjKUne8ANbHLPm3pm/upM80Kgr5sERCM9x dS+BHyMRl4dJvU5NzpLroMPG8GEBKS5Y1QHjlMOxcc1hOA2SkE9GEo44kalRN2B4178g 5ZwFSToQkcNF0XpJrKoglzsoJulmrIcAz9ozknTviE3nwXefZjp4oARy0lQMHNoegCk8 HUqC2to5Z+hBtG18VmWqfFCEqX9iM+QbtRkXXNLWJQ0os6ag2BSZOkelCXN06CpneAqP sYJw== X-Gm-Message-State: ACrzQf32VojHYk0D5e2BtvsmuGu4Q0aurPnsUESlcZBThYBWMw2ksFuI vt6Bvbk6IKk69o7WJjNb6/4= X-Received: by 2002:ac8:5f48:0:b0:35d:1b11:6ae5 with SMTP id y8-20020ac85f48000000b0035d1b116ae5mr20606060qta.247.1664287071504; Tue, 27 Sep 2022 06:57:51 -0700 (PDT) Received: from [192.168.1.201] (pool-173-73-95-180.washdc.fios.verizon.net. [173.73.95.180]) by smtp.gmail.com with ESMTPSA id br15-20020a05620a460f00b006b5cc25535fsm980289qkb.99.2022.09.27.06.57.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Sep 2022 06:57:51 -0700 (PDT) Message-ID: Date: Tue, 27 Sep 2022 09:57:50 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH net-next v2 07/13] sunhme: Convert FOO((...)) to FOO(...) Content-Language: en-US To: David Laight , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "netdev@vger.kernel.org" Cc: Nick Bowler , Rolf Eike Beer , Zheyu Ma , open list References: <20220924015339.1816744-1-seanga2@gmail.com> <20220924015339.1816744-8-seanga2@gmail.com> <9412f706a4934d218019d74c5f4b74ae@AcuMS.aculab.com> From: Sean Anderson In-Reply-To: <9412f706a4934d218019d74c5f4b74ae@AcuMS.aculab.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,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 On 9/27/22 03:58, David Laight wrote: > From: Sean Anderson >> Sent: 24 September 2022 02:54 >> >> With the power of variadic macros, double parentheses are unnecessary. >> >> Signed-off-by: Sean Anderson >> --- >> >> Changes in v2: >> - sumhme -> sunhme >> >> drivers/net/ethernet/sun/sunhme.c | 272 +++++++++++++++--------------- >> 1 file changed, 136 insertions(+), 136 deletions(-) >> >> diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c >> index 7d6825c573a2..77a2a192f2ce 100644 >> --- a/drivers/net/ethernet/sun/sunhme.c >> +++ b/drivers/net/ethernet/sun/sunhme.c >> @@ -134,17 +134,17 @@ static __inline__ void tx_dump_log(void) >> #endif >> >> #ifdef HMEDEBUG >> -#define HMD(x) printk x >> +#define HMD printk > > That probably ought to be: > #define HMD(...) printk(__VA_ARGS__) > > (and followed through all the other patches) The final macro is #define hme_debug(fmt, ...) pr_debug("%s: " fmt, __func__, ##__VA_ARGS__) #define HMD hme_debug so I think that satisfies your comment. --Sean