Re: surface3_button.c:undefined reference to `i2c_del_driver'

From: Andy Shevchenko
Date: Mon Jan 02 2017 - 04:07:00 EST


On Mon, 2017-01-02 at 14:25 +0800, kbuild test robot wrote:
> Hi Benjamin,
>
> FYI, the error/warning still remains.

It's pending in fixes branch of drivers/platform/x86 subsystem.

Darren would you mind to tag 4.10-3 and send pull request to Linus?

>
> tree:ÂÂÂhttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
> .git master
> head:ÂÂÂ0c744ea4f77d72b3dcebb7a8f2684633ec79be88
> commit: 1a64b719d3ae0e4fb939d9a9e31abb60b4ce4eb1 platform/x86:
> Introduce button support for the Surface 3
> date:ÂÂÂ2 weeks ago
> config: i386-randconfig-c0-01021248 (attached as .config)
> compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
> reproduce:
> ÂÂÂÂÂÂÂÂgit checkout 1a64b719d3ae0e4fb939d9a9e31abb60b4ce4eb1
> ÂÂÂÂÂÂÂÂ# save the attached .config to linux build tree
> ÂÂÂÂÂÂÂÂmake ARCH=i386Â
>
> All errors (new ones prefixed by >>):
>
> ÂÂÂdrivers/built-in.o: In function `surface3_driver_exit':
> > > surface3_button.c:(.exit.text+0x152d): undefined reference to
> > > `i2c_del_driver'
>
> ÂÂÂdrivers/built-in.o: In function `surface3_driver_init':
> > > surface3_button.c:(.init.text+0x1754d): undefined reference to
> > > `i2c_register_driver'
>
> ---
> 0-DAY kernel test infrastructureÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂOpen Source Technology
> Center
> https://lists.01.org/pipermail/kbuild-allÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂIntel
> Corporation

--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy