sh4-linux-ld: drivers/media/i2c/tc358746.c:1607:undefined reference to `devm_of_clk_add_hw_provider'
From: kernel test robot
Date: Sun Nov 15 2026 - 19:27:53 EST
Hi Arnd,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fa2933aac170dd19c6a7f0d7b81a8f537e40915c
commit: 94bfc7f3b0c7c33331ba4ff6cc64ff309dfcbce8 err.h: use __always_inline on all error pointer helpers
date: 5 months ago
config: sh-randconfig-1001-20261115 (https://download.01.org/0day-ci/archive/20261116/202611160836.dBWEJOjI-lkp@xxxxxxxxx/config)
compiler: sh4-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261116/202611160836.dBWEJOjI-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
| Fixes: 94bfc7f3b0c7 ("err.h: use __always_inline on all error pointer helpers")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611160836.dBWEJOjI-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
sh4-linux-ld: drivers/media/i2c/tc358746.o: in function `tc358746_probe':
drivers/media/i2c/tc358746.c:1607:(.text+0x1f98): undefined reference to `devm_clk_hw_register'
>> sh4-linux-ld: drivers/media/i2c/tc358746.c:1607:(.text+0x1fa0): undefined reference to `devm_of_clk_add_hw_provider'
sh4-linux-ld: drivers/media/i2c/tc358746.c:1607:(.text+0x1fa4): undefined reference to `of_clk_hw_simple_get'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki