Re: [PATCH net-next 1/3] net: netdevsim: Add PHY support in netdevsim
From: kernel test robot
Date: Fri Jul 04 2025 - 08:18:06 EST
Hi Maxime,
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/Maxime-Chevallier/net-netdevsim-Add-PHY-support-in-netdevsim/20250702-163058
base: net-next/main
patch link: https://lore.kernel.org/r/20250702082806.706973-2-maxime.chevallier%40bootlin.com
patch subject: [PATCH net-next 1/3] net: netdevsim: Add PHY support in netdevsim
config: microblaze-allmodconfig (https://download.01.org/0day-ci/archive/20250704/202507041906.JXjAtVqe-lkp@xxxxxxxxx/config)
compiler: microblaze-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250704/202507041906.JXjAtVqe-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507041906.JXjAtVqe-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
microblaze-linux-ld: drivers/net/netdevsim/phy.o: in function `phy_module_exit':
>> phy.o:(.exit.text+0x0): multiple definition of `cleanup_module'; drivers/net/netdevsim/netdev.o:netdev.o:(.exit.text+0x0): first defined here
microblaze-linux-ld: drivers/net/netdevsim/phy.o: in function `phy_module_init':
>> phy.o:(.init.text+0x0): multiple definition of `init_module'; drivers/net/netdevsim/netdev.o:netdev.o:(.init.text+0x0): first defined here
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki