[pm:s2idle-dell-test 4/6] drivers/acpi/sleep.c:163:19: warning: 'init_upep_device' used but never defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git s2idle-dell-test
head:   4611e333d76da6a75ce3d612799009c45974c212
commit: 48fa0f43d8297ea41ae11e0d735d29e35a2d4c30 [4/6] ACPI / sleep: EC-based wakeup from suspend-to-idle on Dell systems
config: x86_64-randconfig-x012-201716 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 48fa0f43d8297ea41ae11e0d735d29e35a2d4c30
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> drivers/acpi/sleep.c:163:19: warning: 'init_upep_device' used but never defined
    static int __init init_upep_device(const struct dmi_system_id *d);
                      ^~~~~~~~~~~~~~~~

vim +/init_upep_device +163 drivers/acpi/sleep.c

   147	{
   148		old_suspend_ordering = true;
   149	}
   150	
   151	static int __init init_old_suspend_ordering(const struct dmi_system_id *d)
   152	{
   153		acpi_old_suspend_ordering();
   154		return 0;
   155	}
   156	
   157	static int __init init_nvs_nosave(const struct dmi_system_id *d)
   158	{
   159		acpi_nvs_nosave();
   160		return 0;
   161	}
   162	
 > 163	static int __init init_upep_device(const struct dmi_system_id *d);
   164	
   165	static struct dmi_system_id acpisleep_dmi_table[] __initdata = {
   166		{
   167		.callback = init_old_suspend_ordering,
   168		.ident = "Abit KN9 (nForce4 variant)",
   169		.matches = {
   170			DMI_MATCH(DMI_BOARD_VENDOR, "http://www.abit.com.tw/";),
   171			DMI_MATCH(DMI_BOARD_NAME, "KN9 Series(NF-CK804)"),

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux