[pm:s2idle-dell-test 3/6] kernel/power/process.c:135:2: error: too many arguments to function 'pm_wakeup_clear'

[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: a75b7d98c9af60888022f70016a85a14e42b70fa [3/6] ACPI / sleep: Ignore spurious SCI wakeups from suspend-to-idle
config: x86_64-randconfig-x015-201716 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout a75b7d98c9af60888022f70016a85a14e42b70fa
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   kernel/power/process.c: In function 'freeze_processes':
>> kernel/power/process.c:135:2: error: too many arguments to function 'pm_wakeup_clear'
     pm_wakeup_clear(true);
     ^~~~~~~~~~~~~~~
   In file included from kernel/power/process.c:13:0:
   include/linux/suspend.h:484:20: note: declared here
    static inline void pm_wakeup_clear(void) {}
                       ^~~~~~~~~~~~~~~

vim +/pm_wakeup_clear +135 kernel/power/process.c

   129		/* Make sure this task doesn't get frozen */
   130		current->flags |= PF_SUSPEND_TASK;
   131	
   132		if (!pm_freezing)
   133			atomic_inc(&system_freezing_cnt);
   134	
 > 135		pm_wakeup_clear(true);
   136		pr_info("Freezing user space processes ... ");
   137		pm_freezing = true;
   138		error = try_to_freeze_tasks(true);

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