m68k-linux-ld: drivers/net/phy/air_en8811h.o:(.debug_addr+0x38): undefined reference to `clk_save_context'

From: kernel test robot

Date: Sun Nov 30 2025 - 03:00:49 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6bda50f4333fa61c07f04f790fdd4e2c9f4ca610
commit: 6b9c9def95cb402374730d51a1f44927f467b774 net: phy: air_en8811h: Introduce resume/suspend and clk_restore_context to ensure correct CKO settings after network interface reinitialization.
date: 5 months ago
config: m68k-randconfig-r061-20251130 (https://download.01.org/0day-ci/archive/20251130/202511301553.eaEz1nEW-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251130/202511301553.eaEz1nEW-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/202511301553.eaEz1nEW-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

m68k-linux-ld: drivers/net/phy/air_en8811h.o: in function `en8811h_resume':
drivers/net/phy/air_en8811h.c:1175: undefined reference to `clk_restore_context'
m68k-linux-ld: drivers/net/phy/air_en8811h.o: in function `en8811h_suspend':
drivers/net/phy/air_en8811h.c:1182: undefined reference to `clk_save_context'
>> m68k-linux-ld: drivers/net/phy/air_en8811h.o:(.debug_addr+0x38): undefined reference to `clk_save_context'
>> m68k-linux-ld: drivers/net/phy/air_en8811h.o:(.debug_addr+0x760): undefined reference to `clk_restore_context'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki