[drm-tip:drm-tip 8/10] include/net/ax25.h:125:2: error: redefinition of enumerator 'AX25_PROTO_DAMA_MASTER'

kbuild test robot lkp at intel.com
Sat Apr 11 08:59:23 UTC 2020


tree:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
head:   dd69e63dc11c8fdabcc029b27f16e80be504ffc8
commit: c7f407a0e923c43488a7f6793d5c456addf0e8e5 [8/10] Merge remote-tracking branch 'drm-intel/topic/core-for-CI' into drm-tip
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project c6eb584c64872fbb779df14acd31c1f3947f6e52)
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout c7f407a0e923c43488a7f6793d5c456addf0e8e5
        # save the attached .config to linux build tree
        COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   In file included from net/ipv4/arp.c:110:
>> include/net/ax25.h:125:2: error: redefinition of enumerator 'AX25_PROTO_DAMA_MASTER'
           AX25_PROTO_MAX = __AX25_PROTO_MAX -1
           ^
   include/net/ax25.h:121:24: note: expanded from macro 'AX25_PROTO_MAX'
   #define AX25_PROTO_MAX AX25_PROTO_DAMA_MASTER
                          ^
   include/net/ax25.h:120:2: note: previous definition is here
           AX25_PROTO_DAMA_MASTER,
           ^
   1 error generated.
--
>> drivers/xen/xen-acpi-memhotplug.c:48:7: error: implicit declaration of function 'HYPERVISOR_dom0_op' [-Werror,-Wimplicit-function-declaration]
           rc = HYPERVISOR_dom0_op(&op);
                ^
   drivers/xen/xen-acpi-memhotplug.c:48:7: note: did you mean 'HYPERVISOR_dm_op'?
   arch/x86/include/asm/xen/hypercall.h:439:1: note: 'HYPERVISOR_dm_op' declared here
   HYPERVISOR_dm_op(
   ^
   1 error generated.
--
>> drivers/regulator/mt6358-regulator.c:5:10: fatal error: 'linux/mfd/mt6358/registers.h' file not found
   #include <linux/mfd/mt6358/registers.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.

vim +/AX25_PROTO_DAMA_MASTER +125 include/net/ax25.h

^1da177e4c3f415 Linus Torvalds 2005-04-16  113  
^1da177e4c3f415 Linus Torvalds 2005-04-16  114  enum {
^1da177e4c3f415 Linus Torvalds 2005-04-16  115  	AX25_PROTO_STD_SIMPLEX,
^1da177e4c3f415 Linus Torvalds 2005-04-16  116  	AX25_PROTO_STD_DUPLEX,
c7c694d196a39af Ralf Baechle   2006-03-19  117  #ifdef CONFIG_AX25_DAMA_SLAVE
^1da177e4c3f415 Linus Torvalds 2005-04-16  118  	AX25_PROTO_DAMA_SLAVE,
c7c694d196a39af Ralf Baechle   2006-03-19  119  #ifdef CONFIG_AX25_DAMA_MASTER
c7c694d196a39af Ralf Baechle   2006-03-19  120  	AX25_PROTO_DAMA_MASTER,
c7c694d196a39af Ralf Baechle   2006-03-19  121  #define AX25_PROTO_MAX AX25_PROTO_DAMA_MASTER
c7c694d196a39af Ralf Baechle   2006-03-19  122  #endif
c7c694d196a39af Ralf Baechle   2006-03-19  123  #endif
c7c694d196a39af Ralf Baechle   2006-03-19  124  	__AX25_PROTO_MAX,
c7c694d196a39af Ralf Baechle   2006-03-19 @125  	AX25_PROTO_MAX = __AX25_PROTO_MAX -1
^1da177e4c3f415 Linus Torvalds 2005-04-16  126  };
^1da177e4c3f415 Linus Torvalds 2005-04-16  127  

:::::: The code at line 125 was first introduced by commit
:::::: c7c694d196a39af6e644e24279953d04f30362db [AX.25]: Fix potencial memory hole.

:::::: TO: Ralf Baechle DL5RB <ralf at linux-mips.org>
:::::: CC: David S. Miller <davem at davemloft.net>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 72870 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200411/44e67a8f/attachment-0001.gz>


More information about the dri-devel mailing list