mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Tim Crawford <tcrawford@system76.com>
Cc: kbuild-all@lists.01.org,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Hans de Goede <hdegoede@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: [pdx86-platform-drivers-x86:review-hans 77/100] drivers/platform/x86/system76_acpi.c:295: undefined reference to `battery_hook_unregister'
Date: Sun, 24 Oct 2021 20:32:00 +0800	[thread overview]
Message-ID: <202110242055.R8Cau8Gl-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2259 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-hans
head:   fc3341b4b55f46ad0846a22ae149d94bac6ce40b
commit: 76f7eba3e0a248af4cc4f302d95031fa2fb65fab [77/100] platform/x86: system76_acpi: Add battery charging thresholds
config: i386-randconfig-a002-20211020 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/commit/?id=76f7eba3e0a248af4cc4f302d95031fa2fb65fab
        git remote add pdx86-platform-drivers-x86 https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git
        git fetch --no-tags pdx86-platform-drivers-x86 review-hans
        git checkout 76f7eba3e0a248af4cc4f302d95031fa2fb65fab
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

Note: the pdx86-platform-drivers-x86/review-hans HEAD fc3341b4b55f46ad0846a22ae149d94bac6ce40b builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

   ld: drivers/platform/x86/system76_acpi.o: in function `system76_battery_exit':
>> drivers/platform/x86/system76_acpi.c:295: undefined reference to `battery_hook_unregister'
   ld: drivers/platform/x86/system76_acpi.o: in function `system76_battery_init':
>> drivers/platform/x86/system76_acpi.c:286: undefined reference to `battery_hook_register'


vim +295 drivers/platform/x86/system76_acpi.c

   279	
   280	static void system76_battery_init(void)
   281	{
   282		acpi_handle handle;
   283	
   284		handle = ec_get_handle();
   285		if (handle && acpi_has_method(handle, "GBCT"))
 > 286			battery_hook_register(&system76_battery_hook);
   287	}
   288	
   289	static void system76_battery_exit(void)
   290	{
   291		acpi_handle handle;
   292	
   293		handle = ec_get_handle();
   294		if (handle && acpi_has_method(handle, "GBCT"))
 > 295			battery_hook_unregister(&system76_battery_hook);
   296	}
   297	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 42469 bytes --]

                 reply	other threads:[~2021-10-24 12:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202110242055.R8Cau8Gl-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=hdegoede@redhat.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tcrawford@system76.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®