Hi Rafael,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on next-20170620]
[cannot apply to v4.12-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Rafael-J-Wysocki/PM-Unify-the-handling-of-device-wakeup-settings/20170620-195729
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git 
linux-next
config: x86_64-randconfig-s5-06202012 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> drivers//pci/pci-mid.c:62:2: error: unknown field 'sleep_wake' specified in 
>> initializer
     .sleep_wake = mid_pci_sleep_wake,
     ^
>> drivers//pci/pci-mid.c:63:2: error: unknown field 'run_wake' specified in 
>> initializer
     .run_wake = mid_pci_run_wake,
     ^
>> drivers//pci/pci-mid.c:63:14: error: initialization from incompatible 
>> pointer type [-Werror=incompatible-pointer-types]
     .run_wake = mid_pci_run_wake,
                 ^~~~~~~~~~~~~~~~
   drivers//pci/pci-mid.c:63:14: note: (near initialization for 
'mid_pci_platform_pm.need_resume')
   cc1: some warnings being treated as errors

vim +/sleep_wake +62 drivers//pci/pci-mid.c

5823d0893 Andy Shevchenko 2016-06-14  56  
c93122548 Lukas Wunner    2016-12-12  57  static const struct 
pci_platform_pm_ops mid_pci_platform_pm = {
5823d0893 Andy Shevchenko 2016-06-14  58        .is_manageable  = 
mid_pci_power_manageable,
5823d0893 Andy Shevchenko 2016-06-14  59        .set_state      = 
mid_pci_set_power_state,
e8a6123e9 Lukas Wunner    2016-10-23  60        .get_state      = 
mid_pci_get_power_state,
5823d0893 Andy Shevchenko 2016-06-14  61        .choose_state   = 
mid_pci_choose_state,
5823d0893 Andy Shevchenko 2016-06-14 @62        .sleep_wake     = 
mid_pci_sleep_wake,
5823d0893 Andy Shevchenko 2016-06-14 @63        .run_wake       = 
mid_pci_run_wake,
5823d0893 Andy Shevchenko 2016-06-14  64        .need_resume    = 
mid_pci_need_resume,
5823d0893 Andy Shevchenko 2016-06-14  65  };
5823d0893 Andy Shevchenko 2016-06-14  66  

:::::: The code at line 62 was first introduced by commit
:::::: 5823d0893ec284f37902e2ecd332dbb396a143d1 x86/platform/intel-mid: Add 
Power Management Unit driver

:::::: TO: Andy Shevchenko <[email protected]>
:::::: CC: Ingo Molnar <[email protected]>

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

Attachment: .config.gz
Description: application/gzip

Reply via email to