undefined reference to `i2c_unregister_device'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git pwrctrl-tc9563 head: 72359837ad0d3f2cbc1364d1cba84357d6d38615 commit: 72359837ad0d3f2cbc1364d1cba84357d6d38615 [5/5] PCI: pwrctrl: Add power control driver for TC9563 config: alpha-randconfig-r054-20251120 (https://download.01.org/0day-ci/archive/20251120/[email protected]/config) compiler: alpha-linux-gcc (GCC) 8.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251120/[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 >>):
alpha-linux-ld: alpha-linux-ld: DWARF error: could not find abbrev number 14070 drivers/pci/pwrctrl/pci-pwrctrl-tc9563.o: in function `tc9563_pwrctrl_remove':
>> (.text+0x4c): undefined reference to `i2c_unregister_device' >> alpha-linux-ld: (.text+0x50): undefined reference to `i2c_unregister_device' >> alpha-linux-ld: (.text+0x60): undefined reference to `i2c_put_adapter'
alpha-linux-ld: (.text+0x64): undefined reference to `i2c_put_adapter'
cocci warnings: (new ones prefixed by >>)
>> drivers/pci/pwrctrl/pci-pwrctrl-tc9563.c:351:2-3: Unneeded semicolon
drivers/pci/pwrctrl/pci-pwrctrl-tc9563.c:414:2-3: Unneeded semicolon drivers/pci/pwrctrl/pci-pwrctrl-tc9563.c:316:2-3: Unneeded semicolon
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki