* drivers/platform/x86/asus-wmi.c:464: undefined reference to `battery_hook_unregister'
@ 2019-09-20 3:23 kbuild test robot
2019-09-20 9:59 ` Andy Shevchenko
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-09-20 3:23 UTC (permalink / raw)
To: Kristian Klausen; +Cc: kbuild-all, linux-kernel, Andy Shevchenko
[-- Attachment #1: Type: text/plain, Size: 1761 bytes --]
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@intel.com>
All errors (new ones prefixed by >>):
ld: drivers/platform/x86/asus-wmi.o: in function `asus_wmi_battery_exit':
>> drivers/platform/x86/asus-wmi.c:464: undefined reference to `battery_hook_unregister'
ld: drivers/platform/x86/asus-wmi.o: in function `asus_wmi_battery_init':
>> drivers/platform/x86/asus-wmi.c:457: undefined reference to `battery_hook_register'
vim +464 drivers/platform/x86/asus-wmi.c
451
452 static void asus_wmi_battery_init(struct asus_wmi *asus)
453 {
454 asus->battery_rsoc_available = false;
455 if (asus_wmi_dev_is_present(asus, ASUS_WMI_DEVID_RSOC)) {
456 asus->battery_rsoc_available = true;
> 457 battery_hook_register(&battery_hook);
458 }
459 }
460
461 static void asus_wmi_battery_exit(struct asus_wmi *asus)
462 {
463 if (asus->battery_rsoc_available)
> 464 battery_hook_unregister(&battery_hook);
465 }
466
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 26874 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: drivers/platform/x86/asus-wmi.c:464: undefined reference to `battery_hook_unregister'
2019-09-20 3:23 drivers/platform/x86/asus-wmi.c:464: undefined reference to `battery_hook_unregister' kbuild test robot
@ 2019-09-20 9:59 ` Andy Shevchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2019-09-20 9:59 UTC (permalink / raw)
To: kbuild test robot; +Cc: Kristian Klausen, kbuild-all, linux-kernel
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@intel.com>
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-20 9:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-20 3:23 drivers/platform/x86/asus-wmi.c:464: undefined reference to `battery_hook_unregister' kbuild test robot
2019-09-20 9:59 ` Andy Shevchenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.