Re: tc358746.c:(.text.tc358746_probe+0x4aa): undefined reference to `devm_clk_hw_register'
From: Philip Li
Date: Wed May 27 2026 - 20:28:59 EST
On Thu, May 28, 2026 at 08:30:27AM +0900, Daniel Palmer wrote:
> I think I've seen this 3 times now. It wasn't me and I sent a patch to
> fix it but no one replied. I've done all I can do :)
Hi Daniel, sorry about this, I will update the bot to avoid sending this
report again.
>
> On Thu, 28 May 2026 at 05:16, kernel test robot <lkp@xxxxxxxxx> wrote:
> >
> > Hi Daniel,
> >
> > FYI, the error/warning still remains.
> >
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: eb3f4b7426cfd2b79d65b7d37155480b32259a11
> > commit: 4fbdd56edf1f0b3e338c90a011bbae1a677ac884 m68k: Enable dead code elimination
> > date: 11 months ago
> > config: m68k-randconfig-r061-20260527 (https://download.01.org/0day-ci/archive/20260528/202605280422.S2WDpmPf-lkp@xxxxxxxxx/config)
> > compiler: m68k-linux-gcc (GCC) 11.5.0
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260528/202605280422.S2WDpmPf-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: 4fbdd56edf1f ("m68k: Enable dead code elimination")
> > | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202605280422.S2WDpmPf-lkp@xxxxxxxxx/
> >
> > All errors (new ones prefixed by >>):
> >
> > m68k-linux-ld: drivers/media/i2c/tc358746.o: in function `tc358746_probe':
> > >> tc358746.c:(.text.tc358746_probe+0x4aa): undefined reference to `devm_clk_hw_register'
> > >> m68k-linux-ld: tc358746.c:(.text.tc358746_probe+0x4fe): undefined reference to `of_clk_hw_simple_get'
> > >> m68k-linux-ld: tc358746.c:(.text.tc358746_probe+0x506): undefined reference to `devm_of_clk_add_hw_provider'
> >
> > --
> > 0-DAY CI Kernel Test Service
> > https://github.com/intel/lkp-tests/wiki
>