[renesas-drivers:master 11/47] drivers/gpu/drm/amd/include/amd_shared.h:34:2: error: redeclaration of enumerator 'CHIP_TAHITI'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master
head:   cdf382160c46b29ce99532ed4378ddc044a5a1c9
commit: e3aba27754ed0dbfd3390be1e783a99b220a4e23 [11/47] Merge remote-tracking branch 'drm/drm-next' into renesas-drivers
config: x86_64-randconfig-i0-201744 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        git checkout e3aba27754ed0dbfd3390be1e783a99b220a4e23
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:33:6: error: nested redefinition of 'enum amd_asic_type'
    enum amd_asic_type {
         ^
>> drivers/gpu/drm/amd/include/amd_shared.h:33:6: error: redeclaration of 'enum amd_asic_type'
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:28:6: note: originally defined here
    enum amd_asic_type {
         ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:34:2: error: redeclaration of enumerator 'CHIP_TAHITI'
     CHIP_TAHITI = 0,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:29:2: note: previous definition of 'CHIP_TAHITI' was here
     CHIP_TAHITI = 0,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:35:2: error: redeclaration of enumerator 'CHIP_PITCAIRN'
     CHIP_PITCAIRN,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:30:2: note: previous definition of 'CHIP_PITCAIRN' was here
     CHIP_PITCAIRN,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:36:2: error: redeclaration of enumerator 'CHIP_VERDE'
     CHIP_VERDE,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:31:2: note: previous definition of 'CHIP_VERDE' was here
     CHIP_VERDE,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:37:2: error: redeclaration of enumerator 'CHIP_OLAND'
     CHIP_OLAND,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:32:2: note: previous definition of 'CHIP_OLAND' was here
     CHIP_OLAND,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:38:2: error: redeclaration of enumerator 'CHIP_HAINAN'
     CHIP_HAINAN,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:33:2: note: previous definition of 'CHIP_HAINAN' was here
     CHIP_HAINAN,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:39:2: error: redeclaration of enumerator 'CHIP_BONAIRE'
     CHIP_BONAIRE,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:34:2: note: previous definition of 'CHIP_BONAIRE' was here
     CHIP_BONAIRE,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:40:2: error: redeclaration of enumerator 'CHIP_KAVERI'
     CHIP_KAVERI,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:35:2: note: previous definition of 'CHIP_KAVERI' was here
     CHIP_KAVERI,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:41:2: error: redeclaration of enumerator 'CHIP_KABINI'
     CHIP_KABINI,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:36:2: note: previous definition of 'CHIP_KABINI' was here
     CHIP_KABINI,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:42:2: error: redeclaration of enumerator 'CHIP_HAWAII'
     CHIP_HAWAII,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:37:2: note: previous definition of 'CHIP_HAWAII' was here
     CHIP_HAWAII,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:43:2: error: redeclaration of enumerator 'CHIP_MULLINS'
     CHIP_MULLINS,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:38:2: note: previous definition of 'CHIP_MULLINS' was here
     CHIP_MULLINS,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:44:2: error: redeclaration of enumerator 'CHIP_TOPAZ'
     CHIP_TOPAZ,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:39:2: note: previous definition of 'CHIP_TOPAZ' was here
     CHIP_TOPAZ,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:45:2: error: redeclaration of enumerator 'CHIP_TONGA'
     CHIP_TONGA,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:40:2: note: previous definition of 'CHIP_TONGA' was here
     CHIP_TONGA,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:46:2: error: redeclaration of enumerator 'CHIP_FIJI'
     CHIP_FIJI,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:41:2: note: previous definition of 'CHIP_FIJI' was here
     CHIP_FIJI,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:47:2: error: redeclaration of enumerator 'CHIP_CARRIZO'
     CHIP_CARRIZO,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:42:2: note: previous definition of 'CHIP_CARRIZO' was here
     CHIP_CARRIZO,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:48:2: error: redeclaration of enumerator 'CHIP_STONEY'
     CHIP_STONEY,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:43:2: note: previous definition of 'CHIP_STONEY' was here
     CHIP_STONEY,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:49:2: error: redeclaration of enumerator 'CHIP_POLARIS10'
     CHIP_POLARIS10,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:44:2: note: previous definition of 'CHIP_POLARIS10' was here
     CHIP_POLARIS10,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:50:2: error: redeclaration of enumerator 'CHIP_POLARIS11'
     CHIP_POLARIS11,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:45:2: note: previous definition of 'CHIP_POLARIS11' was here
     CHIP_POLARIS11,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
>> drivers/gpu/drm/amd/include/amd_shared.h:51:2: error: redeclaration of enumerator 'CHIP_POLARIS12'
     CHIP_POLARIS12,
     ^
   In file included from drivers/gpu/drm/amd/include/amd_shared.h:26:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:
   include/drm/amd_asic_type.h:46:2: note: previous definition of 'CHIP_POLARIS12' was here
     CHIP_POLARIS12,
     ^
   In file included from drivers/gpu/drm/amd/amdkfd/kfd_priv.h:36:0,
                    from drivers/gpu/drm/amd/amdkfd/kfd_module.c:27:

vim +/CHIP_TAHITI +34 drivers/gpu/drm/amd/include/amd_shared.h

5fc3aeeb9 yanyang1      2015-05-22  25  
f674bd281 Akshu Agrawal 2017-06-28 @26  #include <drm/amd_asic_type.h>
0b2daf09c Jammy Zhou    2015-07-21  27  
cfa289fd4 Rex Zhu       2017-09-06  28  struct seq_file;
cfa289fd4 Rex Zhu       2017-09-06  29  
0b2daf09c Jammy Zhou    2015-07-21  30  /*
2f7d10b39 Jammy Zhou    2015-07-22  31   * Supported ASIC types
2f7d10b39 Jammy Zhou    2015-07-22  32   */
2f7d10b39 Jammy Zhou    2015-07-22 @33  enum amd_asic_type {
26d721c5f Ken Wang      2016-01-21 @34  	CHIP_TAHITI = 0,
26d721c5f Ken Wang      2016-01-21 @35  	CHIP_PITCAIRN,
26d721c5f Ken Wang      2016-01-21 @36  	CHIP_VERDE,
26d721c5f Ken Wang      2016-01-21 @37  	CHIP_OLAND,
26d721c5f Ken Wang      2016-01-21 @38  	CHIP_HAINAN,
26d721c5f Ken Wang      2016-01-21 @39  	CHIP_BONAIRE,
2f7d10b39 Jammy Zhou    2015-07-22 @40  	CHIP_KAVERI,
2f7d10b39 Jammy Zhou    2015-07-22 @41  	CHIP_KABINI,
2f7d10b39 Jammy Zhou    2015-07-22 @42  	CHIP_HAWAII,
2f7d10b39 Jammy Zhou    2015-07-22 @43  	CHIP_MULLINS,
2f7d10b39 Jammy Zhou    2015-07-22 @44  	CHIP_TOPAZ,
2f7d10b39 Jammy Zhou    2015-07-22 @45  	CHIP_TONGA,
48299f95f David Zhang   2015-07-08 @46  	CHIP_FIJI,
2f7d10b39 Jammy Zhou    2015-07-22 @47  	CHIP_CARRIZO,
139f49179 Samuel Li     2015-10-08 @48  	CHIP_STONEY,
2cc0c0b5c Flora Cui     2016-03-14 @49  	CHIP_POLARIS10,
2cc0c0b5c Flora Cui     2016-03-14 @50  	CHIP_POLARIS11,
c4642a479 Junwei Zhang  2016-12-14 @51  	CHIP_POLARIS12,
d4196f011 Ken Wang      2016-03-09 @52  	CHIP_VEGA10,
2ca8a5d2e Chunming Zhou 2016-12-07 @53  	CHIP_RAVEN,
2f7d10b39 Jammy Zhou    2015-07-22 @54  	CHIP_LAST,
2f7d10b39 Jammy Zhou    2015-07-22  55  };
2f7d10b39 Jammy Zhou    2015-07-22  56  

:::::: The code at line 34 was first introduced by commit
:::::: 26d721c5f5f1d2b140c6df5a361dcebc8cbf090b drm/amdgpu: add SI asics types v2

:::::: TO: Ken Wang <Qingqing.Wang@xxxxxxx>
:::::: CC: Alex Deucher <alexander.deucher@xxxxxxx>

---
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 Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux