Re: da9062_wdt.c:undefined reference to `i2c_smbus_write_byte_data'
From: Randy Dunlap
Date: Sat Feb 08 2020 - 11:06:28 EST
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/
on 2020-JAN-31.
--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>