From: kernel test robot <lkp@intel.com>
To: egyszeregy@freemail.hu, fw@strlen.de, pablo@netfilter.org,
lorenzo@kernel.org, daniel@iogearbox.net, leitao@debian.org,
amiculas@cisco.com, kadlec@netfilter.org, davem@davemloft.net,
dsahern@kernel.org, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, horms@kernel.org,
netfilter-devel@vger.kernel.org, coreteam@netfilter.org,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
"Benjamin Szőke" <egyszeregy@freemail.hu>
Subject: Re: [PATCH] netfilter: uapi: Merge xt_*.h/c and ipt_*.h which has same name.
Date: Thu, 2 Jan 2025 06:30:33 +0800 [thread overview]
Message-ID: <202501020613.zfPO1hvh-lkp@intel.com> (raw)
In-Reply-To: <20250101192015.1577-1-egyszeregy@freemail.hu>
Hi,
kernel test robot noticed the following build errors:
[auto build test ERROR on netfilter-nf/main]
[also build test ERROR on linus/master v6.13-rc5 next-20241220]
[cannot apply to nf-next/master horms-ipvs/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/egyszeregy-freemail-hu/netfilter-uapi-Merge-xt_-h-c-and-ipt_-h-which-has-same-name/20250102-032847
base: https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git main
patch link: https://lore.kernel.org/r/20250101192015.1577-1-egyszeregy%40freemail.hu
patch subject: [PATCH] netfilter: uapi: Merge xt_*.h/c and ipt_*.h which has same name.
config: arm64-randconfig-001-20250102 (https://download.01.org/0day-ci/archive/20250102/202501020613.zfPO1hvh-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project ed572f2003275da8e06a634b4d6658b7921e8334)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250102/202501020613.zfPO1hvh-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501020613.zfPO1hvh-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from net/ipv4/netfilter/ipt_ECN.c:9:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:8:
In file included from include/linux/cacheflush.h:5:
In file included from arch/arm64/include/asm/cacheflush.h:11:
In file included from include/linux/kgdb.h:19:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:2223:
include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
505 | item];
| ~~~~
include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
512 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
525 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
In file included from net/ipv4/netfilter/ipt_ECN.c:17:
>> include/uapi/linux/netfilter_ipv4/ipt_ecn.h:19:2: error: expected identifier
19 | IPT_ECN_IP_MASK = XT_ECN_IP_MASK,
| ^
include/uapi/linux/netfilter_ipv4/ipt_ecn.h:11:25: note: expanded from macro 'IPT_ECN_IP_MASK'
11 | #define IPT_ECN_IP_MASK (~XT_DSCP_MASK)
| ^
4 warnings and 1 error generated.
vim +19 include/uapi/linux/netfilter_ipv4/ipt_ecn.h
4b5f2ebf33bae9 include/uapi/linux/netfilter_ipv4/ipt_ecn.h Benjamin Szőke 2025-01-01 17
a4c6f9d3636db5 include/linux/netfilter_ipv4/ipt_ecn.h Jan Engelhardt 2011-06-09 18 enum {
a4c6f9d3636db5 include/linux/netfilter_ipv4/ipt_ecn.h Jan Engelhardt 2011-06-09 @19 IPT_ECN_IP_MASK = XT_ECN_IP_MASK,
a4c6f9d3636db5 include/linux/netfilter_ipv4/ipt_ecn.h Jan Engelhardt 2011-06-09 20 IPT_ECN_OP_MATCH_IP = XT_ECN_OP_MATCH_IP,
a4c6f9d3636db5 include/linux/netfilter_ipv4/ipt_ecn.h Jan Engelhardt 2011-06-09 21 IPT_ECN_OP_MATCH_ECE = XT_ECN_OP_MATCH_ECE,
a4c6f9d3636db5 include/linux/netfilter_ipv4/ipt_ecn.h Jan Engelhardt 2011-06-09 22 IPT_ECN_OP_MATCH_CWR = XT_ECN_OP_MATCH_CWR,
a4c6f9d3636db5 include/linux/netfilter_ipv4/ipt_ecn.h Jan Engelhardt 2011-06-09 23 IPT_ECN_OP_MATCH_MASK = XT_ECN_OP_MATCH_MASK,
a4c6f9d3636db5 include/linux/netfilter_ipv4/ipt_ecn.h Jan Engelhardt 2011-06-09 24 };
a4c6f9d3636db5 include/linux/netfilter_ipv4/ipt_ecn.h Jan Engelhardt 2011-06-09 25
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-01-01 22:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-01 19:20 [PATCH] netfilter: uapi: Merge xt_*.h/c and ipt_*.h which has same name egyszeregy
2025-01-01 22:30 ` kernel test robot [this message]
2025-01-01 22:37 ` Jan Engelhardt
2025-01-01 22:46 ` Florian Westphal
2025-01-01 23:47 ` Szőke Benjamin
2025-01-02 12:35 ` Florian Westphal
2025-01-02 7:55 ` David Laight
2025-01-02 12:23 ` Florian Westphal
2025-01-02 13:34 ` Andrew Lunn
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=202501020613.zfPO1hvh-lkp@intel.com \
--to=lkp@intel.com \
--cc=amiculas@cisco.com \
--cc=coreteam@netfilter.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=egyszeregy@freemail.hu \
--cc=fw@strlen.de \
--cc=horms@kernel.org \
--cc=kadlec@netfilter.org \
--cc=kuba@kernel.org \
--cc=leitao@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=lorenzo@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.com \
--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).