From: kernel test robot <lkp@intel.com>
To: "Jim Cromie" <jim.cromie@gmail.com>,
" Łukasz Bartosik" <ukaszb@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jimc:scratchpad-v10 9/14] net/netfilter/nf_tables_api.c:176:1: sparse: sparse: symbol 'trans_ENABLE_KEY' was not declared. Should it be static?
Date: Tue, 25 Aug 2026 18:37:38 +0800 [thread overview]
Message-ID: <202608251820.Ev9RBlph-lkp@intel.com> (raw)
tree: https://github.com/jimc/linux.git scratchpad-v10
head: 45e5e0071e4ad7afee159e8cbe6cbe50c8db61d0
commit: 3c3f1ee69c19adfb34381a59af5ff7bf6301774a [9/14] netfilter/nf_tables: Route transaction objects to scratchpad
config: i386-randconfig-r132-20260825 (https://download.01.org/0day-ci/archive/20260825/202608251820.Ev9RBlph-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260825/202608251820.Ev9RBlph-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/202608251820.Ev9RBlph-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> net/netfilter/nf_tables_api.c:176:1: sparse: sparse: symbol 'trans_ENABLE_KEY' was not declared. Should it be static?
net/netfilter/nf_tables_api.c:2154:25: sparse: sparse: cast between address spaces (__percpu -> __rcu)
net/netfilter/nf_tables_api.c:2154:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/netfilter/nf_tables_api.c:2154:25: sparse: struct nft_stats [noderef] __rcu *
net/netfilter/nf_tables_api.c:2154:25: sparse: struct nft_stats [noderef] __percpu *
net/netfilter/nf_tables_api.c:2357:17: sparse: sparse: cast between address spaces (__percpu -> __rcu)
net/netfilter/nf_tables_api.c:2357:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/netfilter/nf_tables_api.c:2357:17: sparse: struct nft_stats [noderef] __rcu *
net/netfilter/nf_tables_api.c:2357:17: sparse: struct nft_stats [noderef] __percpu *
net/netfilter/nf_tables_api.c:2357:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/netfilter/nf_tables_api.c:2357:17: sparse: struct nft_stats [noderef] __rcu *
net/netfilter/nf_tables_api.c:2357:17: sparse: struct nft_stats [noderef] __percpu *
net/netfilter/nf_tables_api.c:2398:21: sparse: sparse: cast between address spaces (__percpu -> __rcu)
net/netfilter/nf_tables_api.c:2398:21: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/netfilter/nf_tables_api.c:2398:21: sparse: struct nft_stats [noderef] __rcu *
net/netfilter/nf_tables_api.c:2398:21: sparse: struct nft_stats [noderef] __percpu *
net/netfilter/nf_tables_api.c:2807:25: sparse: sparse: cast between address spaces (__percpu -> __rcu)
net/netfilter/nf_tables_api.c:2807:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/netfilter/nf_tables_api.c:2807:25: sparse: struct nft_stats [noderef] __rcu *
net/netfilter/nf_tables_api.c:2807:25: sparse: struct nft_stats [noderef] __percpu *
vim +/trans_ENABLE_KEY +176 net/netfilter/nf_tables_api.c
175
> 176 DEFINE_SCRATCHPAD_PARAM(trans,
177 "Toggle nf_tables transaction scratchpad allocator");
178
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-08-25 10:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202608251820.Ev9RBlph-lkp@intel.com \
--to=lkp@intel.com \
--cc=jim.cromie@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ukaszb@chromium.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.