From: kernel test robot <lkp@intel.com>
To: Shaun Brady <brady.1345@gmail.com>, netfilter-devel@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, ppwaskie@kernel.org, fw@strlen.de,
pablo@netfilter.org
Subject: Re: [PATCH v6 1/2] netfilter: nf_tables: Implement jump limit for nft_table_validate
Date: Mon, 28 Jul 2025 15:17:18 +0800 [thread overview]
Message-ID: <202507281408.4TSYx6Hl-lkp@intel.com> (raw)
In-Reply-To: <20250728040315.1014454-1-brady.1345@gmail.com>
Hi Shaun,
kernel test robot noticed the following build warnings:
[auto build test WARNING on netfilter-nf/main]
[also build test WARNING on linus/master v6.16 next-20250725]
[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/Shaun-Brady/Add-test-for-nft_max_table_jumps_netns-sysctl/20250728-120528
base: https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git main
patch link: https://lore.kernel.org/r/20250728040315.1014454-1-brady.1345%40gmail.com
patch subject: [PATCH v6 1/2] netfilter: nf_tables: Implement jump limit for nft_table_validate
config: csky-randconfig-001-20250728 (https://download.01.org/0day-ci/archive/20250728/202507281408.4TSYx6Hl-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250728/202507281408.4TSYx6Hl-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/202507281408.4TSYx6Hl-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/net/net_namespace.h:25,
from include/linux/inet.h:42,
from fs/nfs/localio.c:15:
>> include/net/netns/netfilter.h:37:2: warning: 'unused' attribute ignored [-Wattributes]
37 | u32 nf_max_table_jumps_netns __maybe_unused;
| ^~~
--
In file included from include/net/net_namespace.h:25,
from include/linux/inet.h:42,
from include/linux/sunrpc/msg_prot.h:205,
from include/linux/sunrpc/clnt.h:19,
from fs/nfs/nfs4proc.c:45:
>> include/net/netns/netfilter.h:37:2: warning: 'unused' attribute ignored [-Wattributes]
37 | u32 nf_max_table_jumps_netns __maybe_unused;
| ^~~
fs/nfs/nfs4proc.c: In function 'nfs4_proc_create_session':
fs/nfs/nfs4proc.c:9534:12: warning: variable 'ptr' set but not used [-Wunused-but-set-variable]
9534 | unsigned *ptr;
| ^~~
--
In file included from include/net/net_namespace.h:25,
from include/linux/inet.h:42,
from include/linux/sunrpc/msg_prot.h:205,
from include/linux/sunrpc/auth.h:14,
from include/linux/nfs_fs.h:31,
from fs/nfs/flexfilelayout/flexfilelayout.c:10:
>> include/net/netns/netfilter.h:37:2: warning: 'unused' attribute ignored [-Wattributes]
37 | u32 nf_max_table_jumps_netns __maybe_unused;
| ^~~
fs/nfs/flexfilelayout/flexfilelayout.c: In function 'ff_layout_io_track_ds_error':
fs/nfs/flexfilelayout/flexfilelayout.c:1312:6: warning: variable 'err' set but not used [-Wunused-but-set-variable]
1312 | int err;
| ^~~
--
In file included from include/net/net_namespace.h:25,
from include/linux/inet.h:42,
from include/linux/sunrpc/msg_prot.h:205,
from include/linux/sunrpc/auth.h:14,
from include/linux/nfs_fs.h:31,
from fs/nfs/flexfilelayout/flexfilelayoutdev.c:10:
>> include/net/netns/netfilter.h:37:2: warning: 'unused' attribute ignored [-Wattributes]
37 | u32 nf_max_table_jumps_netns __maybe_unused;
| ^~~
fs/nfs/flexfilelayout/flexfilelayoutdev.c: In function 'nfs4_ff_alloc_deviceid_node':
fs/nfs/flexfilelayout/flexfilelayoutdev.c:56:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
56 | int i, ret = -ENOMEM;
| ^~~
--
In file included from include/net/net_namespace.h:25,
from include/linux/inet.h:42,
from include/linux/sunrpc/msg_prot.h:205,
from include/linux/sunrpc/clnt.h:19,
from nfs4proc.c:45:
>> include/net/netns/netfilter.h:37:2: warning: 'unused' attribute ignored [-Wattributes]
37 | u32 nf_max_table_jumps_netns __maybe_unused;
| ^~~
nfs4proc.c: In function 'nfs4_proc_create_session':
nfs4proc.c:9534:12: warning: variable 'ptr' set but not used [-Wunused-but-set-variable]
9534 | unsigned *ptr;
| ^~~
--
In file included from include/net/net_namespace.h:25,
from include/linux/inet.h:42,
from include/linux/sunrpc/msg_prot.h:205,
from include/linux/sunrpc/auth.h:14,
from include/linux/nfs_fs.h:31,
from flexfilelayout/flexfilelayout.c:10:
>> include/net/netns/netfilter.h:37:2: warning: 'unused' attribute ignored [-Wattributes]
37 | u32 nf_max_table_jumps_netns __maybe_unused;
| ^~~
flexfilelayout/flexfilelayout.c: In function 'ff_layout_io_track_ds_error':
flexfilelayout/flexfilelayout.c:1312:6: warning: variable 'err' set but not used [-Wunused-but-set-variable]
1312 | int err;
| ^~~
--
In file included from include/net/net_namespace.h:25,
from include/linux/inet.h:42,
from include/linux/sunrpc/msg_prot.h:205,
from include/linux/sunrpc/auth.h:14,
from include/linux/nfs_fs.h:31,
from flexfilelayout/flexfilelayoutdev.c:10:
>> include/net/netns/netfilter.h:37:2: warning: 'unused' attribute ignored [-Wattributes]
37 | u32 nf_max_table_jumps_netns __maybe_unused;
| ^~~
flexfilelayout/flexfilelayoutdev.c: In function 'nfs4_ff_alloc_deviceid_node':
flexfilelayout/flexfilelayoutdev.c:56:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
56 | int i, ret = -ENOMEM;
| ^~~
vim +/unused +37 include/net/netns/netfilter.h
10
11 struct netns_nf {
12 #if defined CONFIG_PROC_FS
13 struct proc_dir_entry *proc_netfilter;
14 #endif
15 const struct nf_logger __rcu *nf_loggers[NFPROTO_NUMPROTO];
16 #ifdef CONFIG_SYSCTL
17 struct ctl_table_header *nf_log_dir_header;
18 struct ctl_table_header *nf_limit_control_dir_header;
19 #ifdef CONFIG_LWTUNNEL
20 struct ctl_table_header *nf_lwtnl_dir_header;
21 #endif
22 #endif
23 struct nf_hook_entries __rcu *hooks_ipv4[NF_INET_NUMHOOKS];
24 struct nf_hook_entries __rcu *hooks_ipv6[NF_INET_NUMHOOKS];
25 #ifdef CONFIG_NETFILTER_FAMILY_ARP
26 struct nf_hook_entries __rcu *hooks_arp[NF_ARP_NUMHOOKS];
27 #endif
28 #ifdef CONFIG_NETFILTER_FAMILY_BRIDGE
29 struct nf_hook_entries __rcu *hooks_bridge[NF_INET_NUMHOOKS];
30 #endif
31 #if IS_ENABLED(CONFIG_NF_DEFRAG_IPV4)
32 unsigned int defrag_ipv4_users;
33 #endif
34 #if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
35 unsigned int defrag_ipv6_users;
36 #endif
> 37 u32 nf_max_table_jumps_netns __maybe_unused;
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-07-28 7:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-28 4:03 [PATCH v6 1/2] netfilter: nf_tables: Implement jump limit for nft_table_validate Shaun Brady
2025-07-28 4:03 ` [PATCH v6 2/2] Add test for nft_max_table_jumps_netns sysctl Shaun Brady
2025-07-28 23:48 ` Pablo Neira Ayuso
2025-07-29 1:53 ` Shaun Brady
2025-07-28 7:17 ` kernel test robot [this message]
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=202507281408.4TSYx6Hl-lkp@intel.com \
--to=lkp@intel.com \
--cc=brady.1345@gmail.com \
--cc=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pablo@netfilter.org \
--cc=ppwaskie@kernel.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).