[pm:bleeding-edge 80/99] drivers//acpi/sleep.c:95:5: error: redefinition of 'acpi_target_system_state'

[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:   699d53e8c1a7eca5ef152eafee1692c77f2818c0
commit: 8d7a4756fef978edeb7834742f755b526c850fdb [80/99] ACPI / PM: Blacklist Low Power S0 Idle _DSM for Dell XPS13 9360
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.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 8d7a4756fef978edeb7834742f755b526c850fdb
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

>> drivers//acpi/sleep.c:95:5: error: redefinition of 'acpi_target_system_state'
    u32 acpi_target_system_state(void)
        ^~~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/acpi.h:44:0,
                    from drivers//acpi/sleep.c:20:
   include/acpi/acpi_bus.h:661:19: note: previous definition of 'acpi_target_system_state' was here
    static inline u32 acpi_target_system_state(void) { return ACPI_STATE_S0; }
                      ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers//acpi/sleep.c:495:13: warning: 'acpi_pm_end' defined but not used [-Wunused-function]
    static void acpi_pm_end(void)
                ^~~~~~~~~~~
   drivers//acpi/sleep.c:485:13: warning: 'acpi_pm_start' defined but not used [-Wunused-function]
    static void acpi_pm_start(u32 acpi_state)
                ^~~~~~~~~~~~~
   drivers//acpi/sleep.c:441:13: warning: 'acpi_pm_finish' defined but not used [-Wunused-function]
    static void acpi_pm_finish(void)
                ^~~~~~~~~~~~~~
   drivers//acpi/sleep.c:418:12: warning: 'acpi_pm_prepare' defined but not used [-Wunused-function]
    static int acpi_pm_prepare(void)
               ^~~~~~~~~~~~~~~

vim +/acpi_target_system_state +95 drivers//acpi/sleep.c

a6ae7594b Rafael J. Wysocki 2012-11-02   94  
a6ae7594b Rafael J. Wysocki 2012-11-02  @95  u32 acpi_target_system_state(void)
a6ae7594b Rafael J. Wysocki 2012-11-02   96  {
a6ae7594b Rafael J. Wysocki 2012-11-02   97  	return acpi_target_sleep_state;
a6ae7594b Rafael J. Wysocki 2012-11-02   98  }
fad16dd9c Rafael J. Wysocki 2014-05-08   99  EXPORT_SYMBOL_GPL(acpi_target_system_state);
a6ae7594b Rafael J. Wysocki 2012-11-02  100  

:::::: The code at line 95 was first introduced by commit
:::::: a6ae7594b1b157e0e7976ed105a7be27d69a5361 ACPI / PM: Move device PM functions related to sleep states

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