[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202510172108.zGZR9d2O-lkp@intel.com>
Date: Fri, 17 Oct 2025 21:46:51 +0800
From: kernel test robot <lkp@...el.com>
To: Shi Hao <i.shihao.999@...il.com>, netdev@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, andrew+netdev@...n.ch,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
Shi Hao <i.shihao.999@...il.com>
Subject: Re: [PATCH] net :ethernet : replace cleanup_module with __exit()
Hi Shi,
kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on horms-ipvs/master v6.18-rc1 next-20251016]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Shi-Hao/net-ethernet-replace-cleanup_module-with-__exit/20251016-195352
base: linus/master
patch link: https://lore.kernel.org/r/20251016115113.43986-1-i.shihao.999%40gmail.com
patch subject: [PATCH] net :ethernet : replace cleanup_module with __exit()
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20251017/202510172108.zGZR9d2O-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251017/202510172108.zGZR9d2O-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/202510172108.zGZR9d2O-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/net/ethernet/3com/3c515.c: In function 'corkscrew_exit_module':
>> drivers/net/ethernet/3com/3c515.c:1552:29: error: 'root_corkscrew_dev' undeclared (first use in this function)
1552 | while (!list_empty(&root_corkscrew_dev)) {
| ^~~~~~~~~~~~~~~~~~
drivers/net/ethernet/3com/3c515.c:1552:29: note: each undeclared identifier is reported only once for each function it appears in
In file included from include/linux/container_of.h:5,
from include/linux/list.h:5,
from include/linux/module.h:12,
from drivers/net/ethernet/3com/3c515.c:52:
include/linux/compiler_types.h:532:27: error: expression in static assertion is not an integer
532 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
| ^~~~
include/linux/container_of.h:21:9: note: in expansion of macro 'static_assert'
21 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~~~~~~~~~~~~
include/linux/container_of.h:21:23: note: in expansion of macro '__same_type'
21 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~~~~~~~~~~
include/linux/list.h:609:9: note: in expansion of macro 'container_of'
609 | container_of(ptr, type, member)
| ^~~~~~~~~~~~
drivers/net/ethernet/3com/3c515.c:1556:22: note: in expansion of macro 'list_entry'
1556 | vp = list_entry(root_corkscrew_dev.next,
| ^~~~~~~~~~
vim +/root_corkscrew_dev +1552 drivers/net/ethernet/3com/3c515.c
^1da177e4c3f415 drivers/net/3c515.c Linus Torvalds 2005-04-16 1549
c244e2488b92ba8 drivers/net/ethernet/3com/3c515.c Shi Hao 2025-10-16 1550 static void __exit corkscrew_exit_module(void)
^1da177e4c3f415 drivers/net/3c515.c Linus Torvalds 2005-04-16 1551 {
^1da177e4c3f415 drivers/net/3c515.c Linus Torvalds 2005-04-16 @1552 while (!list_empty(&root_corkscrew_dev)) {
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists