All of lore.kernel.org
 help / color / mirror / Atom feed
* [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?
@ 2026-08-25 10:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-25 10:37 UTC (permalink / raw)
  To: Jim Cromie,  Łukasz Bartosik; +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-25 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-25 10:37 [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? kernel test robot

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.