tc358746.c:(.text.tc358746_probe+0x472): undefined reference to `devm_clk_hw_register'
kernel test robot
build botHi Daniel,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d2a43e7f89da55d6f0f96aaadaa243f35557291e commit: 4fbdd56edf1f0b3e338c90a011bbae1a677ac884 m68k: Enable dead code elimination date: 9 months ago config: m68k-randconfig-r051-20260326 (https://download.01.org/0day-ci/archive/20260326/[email protected]/config) compiler: m68k-linux-gcc (GCC) 14.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260326/[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 >>):
m68k-linux-ld: drivers/media/i2c/tc358746.o: in function `tc358746_probe':
>> tc358746.c:(.text.tc358746_probe+0x472): undefined reference to `devm_clk_hw_register'
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Hello robot,
Quoted 4 lines · kernel test robot
All errors (new ones prefixed by >>):
m68k-linux-ld: drivers/media/i2c/tc358746.o: in function `tc358746_probe':Quoted 1 line
Quoted 1 line
tc358746.c:(.text.tc358746_probe+0x472): undefined reference to `devm_clk_hw_register'
Fix is sent but the issue seems to have nothing to do with my commit. The driver isn't depending on the common clock framework but using it. This would have failed to build even without the blamed commit as far as I can tell.
Cheers,
Daniel
Quoted 9 lines · Daniel Palmer
Hello robot,
Quoted 4 lines · kernel test robot
All errors (new ones prefixed by >>):
m68k-linux-ld: drivers/media/i2c/tc358746.o: in function `tc358746_probe':Quoted 1 line
Quoted 1 line
tc358746.c:(.text.tc358746_probe+0x472): undefined reference to `devm_clk_hw_register'
Fix is sent but the issue seems to have nothing to do with my commit.
Thanks for the info, and sorry for the false positive. I will do investigation to see what the cause is for the wrong bisection.
Quoted 8 lines
The driver isn't depending on the common clock framework but using it. This would have failed to build even without the blamed commit as far as I can tell.
Cheers,
Daniel