Message ID | 55bdec01.8ad.18ad9c80cca.Coremail.wangkailong@jari.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3045574vqu; Wed, 27 Sep 2023 20:24:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFf3zyfQoav8DbtC6CGcCzTMIDibyqd0iIUJst4yiz+HN4INDTzM1GrslPHnowuB1CLlkJs X-Received: by 2002:a05:6870:4412:b0:1ad:5317:1f7d with SMTP id u18-20020a056870441200b001ad53171f7dmr55503oah.39.1695871488978; Wed, 27 Sep 2023 20:24:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695871488; cv=none; d=google.com; s=arc-20160816; b=FCgo+lfO4gwi38fwLNpk4A3yKdznidT1K+j1WJ2xkwp1BJJDtwx0hXWt52cdAKFIph C71NAVWBTlnJ9LMg9dsU+Birpa/7CW4z2j73C+pTlTj1Ggc9PhIdsifI3wDxv6AU6nxn 9cNbQcV4sBmhD8+5OLZDKv5gO7GAPnYepfEOBA3cqJee74TzYv9wWHC5AdmCEiyjopgq 9hPDIHDFJhIS5aYW/m5WY5wQ26BzwbxcXAgC2HFL5mS9ZNMAqd9ZWbPciQ+JDR7y/N47 MzW93NQEDE+3HuDS8YsWZFr5moAnuxCIEcTbilhBOng6NkOguByvrBcVMCyEzr5j2ad3 qqjg== 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=2IrgCgWjC1mvdbDVQvgIcPhujWf9wcFsNCcaMfy/bWk=; fh=/AeaX1VbQ96MWp/bESs4TN+NFBPc05De6zbZtSMgJQo=; b=RF8vKZy48hN+WgEKrVQckLSHReD3eOa7joMti7w1tKPfPLw71rcnta3yDFGeRBHHxD LgjoTYCU/4bcTguhv1k7H/qh4RJHKlX3mD8diLRiR+TnT91rDDJfx8yXkGylDhq9ojeT oS3bUjZjEZlEvshBJ4uDQ5nUWVbRADefW0oHR7AX8zwPWnz++XmEPChSIqrjcrLztpHq KlsT+csmOVaHm1hNElPNfkW7TcqCeyD1PGFZUpkRILuqWLWWQ2kxr8SUra9AYfXrIuSv tycv39akQIb+copDma7lIX3zld3TywBp3p8j58Zrn9LLH+fGDNhHgGQu1c6ZHLU2cuNI X/rA== 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:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id y72-20020a638a4b000000b00563f627f2easi17340208pgd.122.2023.09.27.20.24.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 20:24:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 5E0DB80657DD; Wed, 27 Sep 2023 20:16:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229854AbjI1DQG (ORCPT <rfc822;ruipengqi7@gmail.com> + 20 others); Wed, 27 Sep 2023 23:16:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjI1DQF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 27 Sep 2023 23:16:05 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A8EF394; Wed, 27 Sep 2023 20:16:03 -0700 (PDT) Received: from wangkailong$jari.cn ( [182.148.12.64] ) by ajax-webmail-localhost.localdomain (Coremail) ; Thu, 28 Sep 2023 11:14:40 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.64] Date: Thu, 28 Sep 2023 11:14:40 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "KaiLong Wang" <wangkailong@jari.cn> To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] net: snmp: Clean up errors in snmp.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 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <55bdec01.8ad.18ad9c80cca.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwC3VUCg7xRlEIG+AA--.629W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAIB2UT+K8AFwAHs- 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 27 Sep 2023 20:16:18 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778250142249387881 X-GMAIL-MSGID: 1778250142249387881 |
Series |
net: snmp: Clean up errors in snmp.h
|
|
Commit Message
KaiLong Wang
Sept. 28, 2023, 3:14 a.m. UTC
Fix the following errors reported by checkpatch:
ERROR: space required after that ',' (ctx:VxV)
ERROR: spaces required around that '==' (ctx:VxV)
Signed-off-by: KaiLong Wang <wangkailong@jari.cn>
---
include/net/snmp.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Thu, Sep 28, 2023 at 11:14:40AM +0800, KaiLong Wang wrote: > Fix the following errors reported by checkpatch: > > ERROR: space required after that ',' (ctx:VxV) > ERROR: spaces required around that '==' (ctx:VxV) > > Signed-off-by: KaiLong Wang <wangkailong@jari.cn> Hi KaiLong Wang, unfortunately, patches that only contain checkpatch clean-ups for Networking code are not accepted.
diff --git a/include/net/snmp.h b/include/net/snmp.h index 468a67836e2f..92e92bebde2c 100644 --- a/include/net/snmp.h +++ b/include/net/snmp.h @@ -31,7 +31,7 @@ struct snmp_mib { int entry; }; -#define SNMP_MIB_ITEM(_name,_entry) { \ +#define SNMP_MIB_ITEM(_name, _entry) { \ .name = _name, \ .entry = _entry, \ } @@ -155,7 +155,7 @@ struct linux_tls_mib { } while (0) -#if BITS_PER_LONG==32 +#if BITS_PER_LONG == 32 #define __SNMP_ADD_STATS64(mib, field, addend) \ do { \