Re: drivers/platform/x86/asus-wmi.c:464: undefined reference to `battery_hook_unregister'

From: Andy Shevchenko
Date: Fri Sep 20 2019 - 05:59:21 EST


On Fri, Sep 20, 2019 at 11:23:43AM +0800, kbuild test robot wrote:
> Hi Kristian,
>
> FYI, the error/warning still remains.
>
> tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 574cc4539762561d96b456dbc0544d8898bd4c6e
> commit: 7973353e92ee1e7ca3b2eb361a4b7cb66c92abee platform/x86: asus-wmi: Refactor charge threshold to use the battery hooking API
> date: 10 days ago
> config: x86_64-randconfig-e001-201937 (attached as .config)
> compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
> reproduce:
> git checkout 7973353e92ee1e7ca3b2eb361a4b7cb66c92abee
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
>
> All errors (new ones prefixed by >>):

The fix is on its way to linux-next followed by new PR to Linus within couple
of days.

--
With Best Regards,
Andy Shevchenko