[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202504111226.iQKPbEOI-lkp@intel.com>
Date: Fri, 11 Apr 2025 12:37:44 +0800
From: kernel test robot <lkp@...el.com>
To: Kuniyuki Iwashima <kuniyu@...zon.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
netdev@...r.kernel.org, Simon Horman <horms@...nel.org>,
Kuniyuki Iwashima <kuniyu@...zon.com>
Subject: Re: [PATCH v1 net-next 02/14] net: Add ops_undo_single for module
load/unload.
Hi Kuniyuki,
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Kuniyuki-Iwashima/net-Factorise-setup_net-and-cleanup_net/20250410-102752
base: net-next/main
patch link: https://lore.kernel.org/r/20250410022004.8668-3-kuniyu%40amazon.com
patch subject: [PATCH v1 net-next 02/14] net: Add ops_undo_single for module load/unload.
config: arm-randconfig-001-20250411 (https://download.01.org/0day-ci/archive/20250411/202504111226.iQKPbEOI-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250411/202504111226.iQKPbEOI-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504111226.iQKPbEOI-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/core/net_namespace.c:1311:3: error: call to undeclared function 'free_exit_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1311 | free_exit_list(ops, &net_exit_list);
| ^
net/core/net_namespace.c:1311:3: note: did you mean 'ops_exit_list'?
net/core/net_namespace.c:166:13: note: 'ops_exit_list' declared here
166 | static void ops_exit_list(const struct pernet_operations *ops,
| ^
1 error generated.
vim +/free_exit_list +1311 net/core/net_namespace.c
ed160e839d2e11 Denis V. Lunev 2007-11-13 1303
f875bae0653349 Eric W. Biederman 2009-11-29 1304 static void __unregister_pernet_operations(struct pernet_operations *ops)
ed160e839d2e11 Denis V. Lunev 2007-11-13 1305 {
f8c46cb39079b7 Dmitry Torokhov 2016-08-10 1306 if (!init_net_initialized) {
f8c46cb39079b7 Dmitry Torokhov 2016-08-10 1307 list_del(&ops->list);
f8c46cb39079b7 Dmitry Torokhov 2016-08-10 1308 } else {
72ad937abd0a43 Eric W. Biederman 2009-12-03 1309 LIST_HEAD(net_exit_list);
72ad937abd0a43 Eric W. Biederman 2009-12-03 1310 list_add(&init_net.exit_list, &net_exit_list);
41467d2ff4dfe1 Yajun Deng 2021-08-17 @1311 free_exit_list(ops, &net_exit_list);
ed160e839d2e11 Denis V. Lunev 2007-11-13 1312 }
f8c46cb39079b7 Dmitry Torokhov 2016-08-10 1313 }
f875bae0653349 Eric W. Biederman 2009-11-29 1314
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists