* [jimc:folio-pool-v2-lockdep 5/21] net/netfilter/nf_tables_api.c:12172:35: error: passing argument 3 of 'folio_scratchpad_init_key' from incompatible pointer type
@ 2026-08-18 1:08 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-18 1:08 UTC (permalink / raw)
To: Jim Cromie, Łukasz Bartosik; +Cc: oe-kbuild-all
tree: https://github.com/jimc/linux.git folio-pool-v2-lockdep
head: e77ee8289ea0755b0ee299348504d4568f942d71
commit: 73ef69b58c7d39a45a6fdbd29d4767eedda7ff41 [5/21] netfilter/nf_tables: Add folio_scratchpad collector to struct nftables_pernet
config: alpha-allmodconfig (https://download.01.org/0day-ci/archive/20260818/202608180716.aq19LiWM-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260818/202608180716.aq19LiWM-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/202608180716.aq19LiWM-lkp@intel.com/
Note: the jimc/folio-pool-v2-lockdep HEAD e77ee8289ea0755b0ee299348504d4568f942d71 builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
net/netfilter/nf_tables_api.c: In function 'nf_tables_init_net':
>> net/netfilter/nf_tables_api.c:12172:35: error: passing argument 3 of 'folio_scratchpad_init_key' from incompatible pointer type [-Wincompatible-pointer-types]
12172 | &nft_trans_scratchpad_key);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| struct static_key_true *
In file included from include/net/netfilter/nf_tables.h:1944,
from include/net/netfilter/nf_tables_core.h:5,
from net/netfilter/nf_tables_api.c:21:
include/linux/folio_pool.h:104:51: note: expected 'struct static_key *' but argument is of type 'struct static_key_true *'
104 | struct static_key *key);
| ~~~~~~~~~~~~~~~~~~~^~~
vim +/folio_scratchpad_init_key +12172 net/netfilter/nf_tables_api.c
12159
12160 static int __net_init nf_tables_init_net(struct net *net)
12161 {
12162 struct nftables_pernet *nft_net = nft_pernet(net);
12163
12164 INIT_LIST_HEAD(&nft_net->tables);
12165 INIT_LIST_HEAD(&nft_net->commit_list);
12166 INIT_LIST_HEAD(&nft_net->destroy_list);
12167 INIT_LIST_HEAD(&nft_net->commit_set_list);
12168 INIT_LIST_HEAD(&nft_net->binding_list);
12169 INIT_LIST_HEAD(&nft_net->module_list);
12170 INIT_LIST_HEAD(&nft_net->notify_list);
12171 folio_scratchpad_init_key(&nft_net->trans_scratchpad, get_order(SZ_64K),
12172 &nft_trans_scratchpad_key);
12173 mutex_init(&nft_net->commit_mutex);
12174 net->nft.base_seq = 1;
12175 nft_net->gc_seq = 0;
12176 nft_net->validate_state = NFT_VALIDATE_SKIP;
12177 INIT_WORK(&nft_net->destroy_work, nf_tables_trans_destroy_work);
12178
12179 return 0;
12180 }
12181
--
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-18 1:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-18 1:08 [jimc:folio-pool-v2-lockdep 5/21] net/netfilter/nf_tables_api.c:12172:35: error: passing argument 3 of 'folio_scratchpad_init_key' from incompatible pointer type 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.