From: Haowen Bai <baihaowen@meizu.com>
To: <pablo@netfilter.org>, <kadlec@netfilter.org>, <fw@strlen.de>,
<davem@davemloft.net>
Cc: <netfilter-devel@vger.kernel.org>, <coreteam@netfilter.org>,
<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Haowen Bai <baihaowen@meizu.com>
Subject: [PATCH] netfilter: ipset: Fix duplicate included ip_set_hash_gen.h
Date: Wed, 23 Mar 2022 11:24:54 +0800 [thread overview]
Message-ID: <1648005894-28708-1-git-send-email-baihaowen@meizu.com> (raw)
Clean up the following includecheck warning:
net/netfilter/ipset/ip_set_hash_ipportip.c: ip_set_hash_gen.h
is included more than once.
No functional change.
Signed-off-by: Haowen Bai <baihaowen@meizu.com>
---
net/netfilter/ipset/ip_set_hash_ipportip.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/netfilter/ipset/ip_set_hash_ipportip.c b/net/netfilter/ipset/ip_set_hash_ipportip.c
index 334fb1a..e432d86 100644
--- a/net/netfilter/ipset/ip_set_hash_ipportip.c
+++ b/net/netfilter/ipset/ip_set_hash_ipportip.c
@@ -253,7 +253,6 @@ hash_ipportip6_data_next(struct hash_ipportip6_elem *next,
#define MTYPE hash_ipportip6
#define HOST_MASK 128
#define IP_SET_EMIT_CREATE
-#include "ip_set_hash_gen.h"
static int
hash_ipportip6_kadt(struct ip_set *set, const struct sk_buff *skb,
--
2.7.4
next reply other threads:[~2022-03-23 3:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-23 3:24 Haowen Bai [this message]
2022-03-23 5:11 ` [PATCH] netfilter: ipset: Fix duplicate included ip_set_hash_gen.h Jakub Kicinski
2022-03-23 6:21 ` 答复: " 白浩文
2022-03-23 9:54 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1648005894-28708-1-git-send-email-baihaowen@meizu.com \
--to=baihaowen@meizu.com \
--cc=coreteam@netfilter.org \
--cc=davem@davemloft.net \
--cc=fw@strlen.de \
--cc=kadlec@netfilter.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).