Re: da9062_wdt.c:undefined reference to `i2c_smbus_write_byte_data'
From: Marco Felsch
Date: Mon Feb 10 2020 - 03:47:43 EST
On 20-02-08 08:38, Guenter Roeck wrote:
> On 2/8/20 8:06 AM, Randy Dunlap wrote:
> > On 2/8/20 5:14 AM, kbuild test robot wrote:
> > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > > head: f757165705e92db62f85a1ad287e9251d1f2cd82
> > > commit: 057b52b4b3d58f4ee5944171da50f77b00a1bb0d watchdog: da9062: make restart handler atomic safe
> > > date: 12 days ago
> > > config: i386-randconfig-b001-20200208 (attached as .config)
> > > compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
> > > reproduce:
> > > git checkout 057b52b4b3d58f4ee5944171da50f77b00a1bb0d
> > > # save the attached .config to linux build tree
> > > make ARCH=i386
> > >
> > > If you fix the issue, kindly add following tag
> > > Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> > >
> > > All errors (new ones prefixed by >>):
> > >
> > > ld: drivers/watchdog/da9062_wdt.o: in function `da9062_wdt_restart':
> > > > > da9062_wdt.c:(.text+0x1c): undefined reference to `i2c_smbus_write_byte_data'
> > >
> > > ---
> > > 0-DAY CI Kernel Test Service, Intel Corporation
> > > https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
> >
> >
> > Also reported here:
> > https://lore.kernel.org/lkml/ac797eb0-9b0a-d2d3-3a40-3fbd0a8b5ee0@xxxxxxxxxxxxx/
> >
>
> Yes, I know, and 0-day reported it earlier as well. Unfortunately
> neither resulted in a fix. I submitted one last night; see
> https://patchwork.kernel.org/patch/11371651/.
My fault, sorry.
Regards,
Marco
> Guenter
>