[pm:linux-next 117/126] drivers/acpi/bus.c:1058:6: error: 'acpi_gbl_group_module_level_code' undeclared; did you mean 'acpi_gbl_trace_dbg_level'?

[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 linux-next
head:   afac0f20eea95951428def5ec3b69332d9a6d07b
commit: 08930d56c76a69716ba56eb111379a559a9b9f42 [117/126] ACPICA: Remove acpi_gbl_group_module_level_code and only use acpi_gbl_execute_tables_as_methods instead
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 08930d56c76a69716ba56eb111379a559a9b9f42
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm64 

Note: the pm/linux-next HEAD afac0f20eea95951428def5ec3b69332d9a6d07b builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/acpi/bus.c: In function 'acpi_early_init':
>> drivers/acpi/bus.c:1058:6: error: 'acpi_gbl_group_module_level_code' undeclared (first use in this function); did you mean 'acpi_gbl_trace_dbg_level'?
         acpi_gbl_group_module_level_code) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         acpi_gbl_trace_dbg_level
   drivers/acpi/bus.c:1058:6: note: each undeclared identifier is reported only once for each function it appears in
   drivers/acpi/bus.c: In function 'acpi_bus_init':
   drivers/acpi/bus.c:1148:7: error: 'acpi_gbl_group_module_level_code' undeclared (first use in this function); did you mean 'acpi_gbl_trace_dbg_level'?
         !acpi_gbl_group_module_level_code) {
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          acpi_gbl_trace_dbg_level

vim +1058 drivers/acpi/bus.c

aa2110cb1 Lin Ming            2010-04-08  1042  
ad71860a1 Alexey Starikovskiy 2007-02-02  1043  	status = acpi_reallocate_root_table();
ad71860a1 Alexey Starikovskiy 2007-02-02  1044  	if (ACPI_FAILURE(status)) {
ad71860a1 Alexey Starikovskiy 2007-02-02  1045  		printk(KERN_ERR PREFIX
ad71860a1 Alexey Starikovskiy 2007-02-02  1046  		       "Unable to reallocate ACPI tables\n");
ad71860a1 Alexey Starikovskiy 2007-02-02  1047  		goto error0;
ad71860a1 Alexey Starikovskiy 2007-02-02  1048  	}
ad71860a1 Alexey Starikovskiy 2007-02-02  1049  
^1da177e4 Linus Torvalds      2005-04-16  1050  	status = acpi_initialize_subsystem();
^1da177e4 Linus Torvalds      2005-04-16  1051  	if (ACPI_FAILURE(status)) {
4be44fcd3 Len Brown           2005-08-05  1052  		printk(KERN_ERR PREFIX
4be44fcd3 Len Brown           2005-08-05  1053  		       "Unable to initialize the ACPI Interpreter\n");
^1da177e4 Linus Torvalds      2005-04-16  1054  		goto error0;
^1da177e4 Linus Torvalds      2005-04-16  1055  	}
^1da177e4 Linus Torvalds      2005-04-16  1056  
e7d970f6f Bob Moore           2018-03-14  1057  	if (!acpi_gbl_execute_tables_as_methods &&
1ef356681 Lv Zheng            2016-09-23 @1058  	    acpi_gbl_group_module_level_code) {
^1da177e4 Linus Torvalds      2005-04-16  1059  		status = acpi_load_tables();
^1da177e4 Linus Torvalds      2005-04-16  1060  		if (ACPI_FAILURE(status)) {
4be44fcd3 Len Brown           2005-08-05  1061  			printk(KERN_ERR PREFIX
4be44fcd3 Len Brown           2005-08-05  1062  			       "Unable to load the System Description Tables\n");
^1da177e4 Linus Torvalds      2005-04-16  1063  			goto error0;
^1da177e4 Linus Torvalds      2005-04-16  1064  		}
fe6cbea0f Lv Zheng            2016-03-24  1065  	}
^1da177e4 Linus Torvalds      2005-04-16  1066  

:::::: The code at line 1058 was first introduced by commit
:::::: 1ef356681ef412abfd93d1c36f15917a126833f5 ACPI / bus: Adjust ACPI subsystem initialization for new table loading mode

:::::: TO: Lv Zheng <lv.zheng@xxxxxxxxx>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

---
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