From patchwork Thu Sep 28 03:12:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: KaiLong Wang X-Patchwork-Id: 145717 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3045361vqu; Wed, 27 Sep 2023 20:24:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH6AkH3lOOdD/GrpWZKGQMNW4hsLZ74FKSbLZeLktR3evJjuwf/hCP8nz1RAIRaeQq7bNON X-Received: by 2002:a05:6830:4cc:b0:6b9:1917:b2f3 with SMTP id s12-20020a05683004cc00b006b91917b2f3mr42421otd.33.1695871449878; Wed, 27 Sep 2023 20:24:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695871449; cv=none; d=google.com; s=arc-20160816; b=kF9xQZwuuMsBdCfFPL4Hi9EW5t9cfutDKvrrB+iXZ5baik8zhRVeBFIcN05iykgIWX ZlWBAW7cyqkE5TgcOyv/krEjkYPINAU6XsP9gdSvfmygmqWFWvhYt62Y3iIMRVQCnpD1 YUVLhlg5yK21vVBMpjN8d1S10J8N4Fmd9Gp2zDfWx2QCVl8w/kL4jnZfmbzgDAtKhruu sRCPTlRIVO/TWq+Gg2MvYZBYwfbYvLdVOcXtZMqSAIwZovtyGP6KNWTvFbJ6FyriUFjk HZAVFz4fgkuB6M/4xHZ0bvoIJTRQq347EKNMSkl0q/biusZGxCBTrMwGaBQpp11HoBP1 Xscg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=HQKLj792A3daZeqsiTLZ1yrNstMoEjyFqVUPWNnTLtM=; fh=sNcqZ2k/ki+uruFtry/leRCDKbxwuv6Ha9egJa7DqIo=; b=Z/C7ST5CM6Z6mfw021a3JbvnBArndlAaxiHHzOfS9y3pRL8y38SVmn6/TioMWXh3Zf ImTOnnHsioMDmJ0+PBbG7t4n3UyIWPoYH9+ppcgkvMCXSlDWtT6PU7m2fElHdALWdJ/x hkN4rZb1ph0bLGP1Tw2e2D1p4G8XIGYJO/1dRsMtx0qAicnor34m36L/JllimgcftYKM BPEKkJVsliJYG6vkVTyDmU1UcJlxCSWEbtn4PIHa2BlHy4ZW7Zk2/ut/jQDrqfpI9njY GZAA6D4FoKN+m5gmmzuwkp+kfIPG+S9R+0NwAlvKvszYtBeMiP12OGbYp4eXOtuDk/4v zGWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id t24-20020aa79398000000b00690228b1d45si15907185pfe.342.2023.09.27.20.24.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 20:24:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id CBC2B801B709; Wed, 27 Sep 2023 20:13:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230084AbjI1DNZ (ORCPT + 20 others); Wed, 27 Sep 2023 23:13:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjI1DNY (ORCPT ); Wed, 27 Sep 2023 23:13:24 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 70AD494; Wed, 27 Sep 2023 20:13:22 -0700 (PDT) Received: from wangkailong$jari.cn ( [182.148.12.64] ) by ajax-webmail-localhost.localdomain (Coremail) ; Thu, 28 Sep 2023 11:12:00 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.64] Date: Thu, 28 Sep 2023 11:12:00 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "KaiLong Wang" To: davem@davemloft.net, dsahern@kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ipv6: Clean up errors in ipv6.h X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.1-cmXT6 build 20230419(ff23bf83) Copyright (c) 2002-2023 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn MIME-Version: 1.0 Message-ID: <1f323424.8ac.18ad9c59948.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwDHZD8A7xRltYC+AA--.637W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAIB2UT+K8AFwACs6 X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_PBL,RDNS_NONE,T_SPF_HELO_PERMERROR,T_SPF_PERMERROR,XPRIO autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 27 Sep 2023 20:13:31 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778250101547905115 X-GMAIL-MSGID: 1778250101547905115 Fix the following errors reported by checkpatch: ERROR: space required after that ',' (ctx:VxV) Signed-off-by: KaiLong Wang --- include/net/ipv6.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/net/ipv6.h b/include/net/ipv6.h index b3444c8a6f74..909e052fe012 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -261,17 +261,17 @@ extern int sysctl_mld_qrv; /* MIBs */ -#define IP6_INC_STATS(net, idev,field) \ +#define IP6_INC_STATS(net, idev, field) \ _DEVINC(net, ipv6, , idev, field) -#define __IP6_INC_STATS(net, idev,field) \ +#define __IP6_INC_STATS(net, idev, field) \ _DEVINC(net, ipv6, __, idev, field) -#define IP6_ADD_STATS(net, idev,field,val) \ +#define IP6_ADD_STATS(net, idev, field, val) \ _DEVADD(net, ipv6, , idev, field, val) -#define __IP6_ADD_STATS(net, idev,field,val) \ +#define __IP6_ADD_STATS(net, idev, field, val) \ _DEVADD(net, ipv6, __, idev, field, val) -#define IP6_UPD_PO_STATS(net, idev,field,val) \ +#define IP6_UPD_PO_STATS(net, idev, field, val) \ _DEVUPD(net, ipv6, , idev, field, val) -#define __IP6_UPD_PO_STATS(net, idev,field,val) \ +#define __IP6_UPD_PO_STATS(net, idev, field, val) \ _DEVUPD(net, ipv6, __, idev, field, val) #define ICMP6_INC_STATS(net, idev, field) \ _DEVINCATOMIC(net, icmpv6, , idev, field)