[pm:bleeding-edge 83/87] kernel/power/suspend_test.c:169:14: error: 'pm_labels' undeclared

[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 bleeding-edge
head:   1a78c4a8b66e066fb9e8ddf8b1b3751419be4253
commit: 12c439fcb033d4442a92201f61643e79b53d10cf [83/87] PM / sleep: System sleep state selection interface rework
config: x86_64-allyesdebian (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 12c439fcb033d4442a92201f61643e79b53d10cf
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   kernel/power/suspend_test.c: In function 'setup_test_suspend':
>> kernel/power/suspend_test.c:169:14: error: 'pm_labels' undeclared (first use in this function)
     for (i = 0; pm_labels[i]; i++)
                 ^~~~~~~~~
   kernel/power/suspend_test.c:169:14: note: each undeclared identifier is reported only once for each function it appears in

vim +/pm_labels +169 kernel/power/suspend_test.c

2ce98689 Srinivas Pandruvada 2014-09-02  163  	repeat = strsep(&value, ",");
2ce98689 Srinivas Pandruvada 2014-09-02  164  	if (repeat) {
2ce98689 Srinivas Pandruvada 2014-09-02  165  		if (kstrtou32(repeat, 0, &test_repeat_count_max))
2ce98689 Srinivas Pandruvada 2014-09-02  166  			return 0;
2ce98689 Srinivas Pandruvada 2014-09-02  167  	}
2ce98689 Srinivas Pandruvada 2014-09-02  168  
62109b43 Rafael J. Wysocki   2014-09-03 @169  	for (i = 0; pm_labels[i]; i++)
2ce98689 Srinivas Pandruvada 2014-09-02  170  		if (!strcmp(pm_labels[i], suspend_type)) {
62109b43 Rafael J. Wysocki   2014-09-03  171  			test_state_label = pm_labels[i];
a9d70523 Rafael J. Wysocki   2009-06-10  172  			return 0;

:::::: The code at line 169 was first introduced by commit
:::::: 62109b43176b87e78b2b6d91bcfe16128c30229b PM / sleep: Fix test_suspend= command line option

:::::: TO: Rafael J. Wysocki <rafael.j.wysocki@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