[pm:bleeding-edge 83/87] kernel/power/main.c:445:12: error: 'mem_sleep_current' 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: i386-randconfig-x008-201647 (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=i386 

All errors (new ones prefixed by >>):

   kernel/power/main.c: In function 'state_store':
>> kernel/power/main.c:445:12: error: 'mem_sleep_current' undeclared (first use in this function)
       state = mem_sleep_current;
               ^~~~~~~~~~~~~~~~~
   kernel/power/main.c:445:12: note: each undeclared identifier is reported only once for each function it appears in

vim +/mem_sleep_current +445 kernel/power/main.c

   439			goto out;
   440		}
   441	
   442		state = decode_state(buf, n);
   443		if (state < PM_SUSPEND_MAX) {
   444			if (state == PM_SUSPEND_MEM)
 > 445				state = mem_sleep_current;
   446	
   447			error = pm_suspend(state);
   448		} else if (state == PM_SUSPEND_MAX) {

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