2020-02-08 13:15:47

by kernel test robot

[permalink] [raw]
Subject: da9062_wdt.c:undefined reference to `i2c_smbus_write_byte_data'

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 <[email protected]>

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/[email protected]


Attachments:
(No filename) (927.00 B)
.config.gz (37.16 kB)
Download all attachments

2020-02-08 16:07:53

by Randy Dunlap

[permalink] [raw]
Subject: Re: da9062_wdt.c:undefined reference to `i2c_smbus_write_byte_data'

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 <[email protected]>
>
> 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/[email protected]


Also reported here:
https://lore.kernel.org/lkml/[email protected]/

on 2020-JAN-31.

--
~Randy
Reported-by: Randy Dunlap <[email protected]>

2020-02-08 16:39:25

by Guenter Roeck

[permalink] [raw]
Subject: Re: da9062_wdt.c:undefined reference to `i2c_smbus_write_byte_data'

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 <[email protected]>
>>
>> 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/[email protected]
>
>
> Also reported here:
> https://lore.kernel.org/lkml/[email protected]/
>

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/.

Guenter

2020-02-08 17:22:34

by Randy Dunlap

[permalink] [raw]
Subject: Re: da9062_wdt.c:undefined reference to `i2c_smbus_write_byte_data'

On 2/8/20 8:38 AM, 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 <[email protected]>
>>>
>>> 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/[email protected]
>>
>>
>> Also reported here:
>> https://lore.kernel.org/lkml/[email protected]/
>>
>
> 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/.

Acked-by: Randy Dunlap <[email protected]> # build-tested

Thanks.

--
~Randy

2020-02-10 08:49:34

by Marco Felsch

[permalink] [raw]
Subject: Re: da9062_wdt.c:undefined reference to `i2c_smbus_write_byte_data'

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 <[email protected]>
> > >
> > > 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/[email protected]
> >
> >
> > Also reported here:
> > https://lore.kernel.org/lkml/[email protected]/
> >
>
> 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
>