[jimc:m-4 143/145] net/netfilter/nf_tables_api.c:182:48: error: 'struct folio_arena' has no member named 'chunk_order'

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://github.com/jimc/linux.git m-4
head:   0036927f87d51d733bf100cae4e407fa21a2c3a6
commit: 42d80a3bc4214d8c2da60cf229926307ce4d78a4 [143/145] include/linux/folio_arena.h: Add !CONFIG_DYNAMIC_DEBUG_CORE stubs
config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260815/[email protected]/config)
compiler: aarch64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260815/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   net/netfilter/nf_tables_api.c: In function 'nft_trans_alloc':
>> net/netfilter/nf_tables_api.c:182:48: error: 'struct folio_arena' has no member named 'chunk_order'
     182 |         if (size <= 256 && nft_net->trans_arena.chunk_order)
         |                                                ^


vim +182 net/netfilter/nf_tables_api.c

7c95f6d866d861 Pablo Neira Ayuso 2014-04-04  175  
3d95a2e016abab Florian Westphal  2025-08-22  176  static struct nft_trans *nft_trans_alloc(const struct nft_ctx *ctx,
3d95a2e016abab Florian Westphal  2025-08-22  177  					 int msg_type, u32 size)
1081d11b086afb Pablo Neira Ayuso 2014-04-04  178  {
34305410158649 Jim Cromie        2026-08-11  179  	struct nftables_pernet *nft_net = nft_pernet(ctx->net);
1081d11b086afb Pablo Neira Ayuso 2014-04-04  180  	struct nft_trans *trans;
1081d11b086afb Pablo Neira Ayuso 2014-04-04  181  
34305410158649 Jim Cromie        2026-08-11 @182  	if (size <= 256 && nft_net->trans_arena.chunk_order)
34305410158649 Jim Cromie        2026-08-11  183  		trans = folio_arena_alloc(&nft_net->trans_arena, GFP_KERNEL);
34305410158649 Jim Cromie        2026-08-11  184  	else
3d95a2e016abab Florian Westphal  2025-08-22  185  		trans = kzalloc(size, GFP_KERNEL);
34305410158649 Jim Cromie        2026-08-11  186  
1081d11b086afb Pablo Neira Ayuso 2014-04-04  187  	if (trans == NULL)
1081d11b086afb Pablo Neira Ayuso 2014-04-04  188  		return NULL;
1081d11b086afb Pablo Neira Ayuso 2014-04-04  189  
580077855a4074 Florian Westphal  2022-08-09  190  	INIT_LIST_HEAD(&trans->list);
b380e5c733b9f1 Pablo Neira Ayuso 2014-04-04  191  	trans->msg_type = msg_type;
e169285f8c56b8 Florian Westphal  2024-05-13  192  
e169285f8c56b8 Florian Westphal  2024-05-13  193  	trans->net = ctx->net;
e169285f8c56b8 Florian Westphal  2024-05-13  194  	trans->table = ctx->table;
e169285f8c56b8 Florian Westphal  2024-05-13  195  	trans->seq = ctx->seq;
e169285f8c56b8 Florian Westphal  2024-05-13  196  	trans->flags = ctx->flags;
e169285f8c56b8 Florian Westphal  2024-05-13  197  	trans->report = ctx->report;
1081d11b086afb Pablo Neira Ayuso 2014-04-04  198  
1081d11b086afb Pablo Neira Ayuso 2014-04-04  199  	return trans;
1081d11b086afb Pablo Neira Ayuso 2014-04-04  200  }
1081d11b086afb Pablo Neira Ayuso 2014-04-04  201  

:::::: The code at line 182 was first introduced by commit
:::::: 34305410158649e65af1141e9e2d2678bb376807 netfilter/nf_tables: Add folio_arena collector to struct nftables_pernet

:::::: TO: Jim Cromie <[email protected]>
:::::: CC: Jim Cromie <[email protected]>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.