[drm-intel:topic/core-for-CI 17/21] include/net/ax25.h:121:24: error: redeclaration of enumerator 'AX25_PROTO_DAMA_MASTER'

kernel test robot lkp at intel.com
Fri Jun 19 23:56:15 UTC 2020


tree:   git://anongit.freedesktop.org/drm-intel topic/core-for-CI
head:   7baab4e528ef38546a32f0a368285289aa2c981f
commit: 11be607ccb68a1604ce6768a3cfb1fb528cc401a [17/21] Revert "drm/i915: Don't select BROKEN"
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
        git checkout 11be607ccb68a1604ce6768a3cfb1fb528cc401a
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel 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:121:24: error: redeclaration of enumerator 'AX25_PROTO_DAMA_MASTER'
     121 | #define AX25_PROTO_MAX AX25_PROTO_DAMA_MASTER
         |                        ^~~~~~~~~~~~~~~~~~~~~~
   include/net/ax25.h:125:2: note: in expansion of macro 'AX25_PROTO_MAX'
     125 |  AX25_PROTO_MAX = __AX25_PROTO_MAX -1
         |  ^~~~~~~~~~~~~~
   include/net/ax25.h:120:2: note: previous definition of 'AX25_PROTO_DAMA_MASTER' was here
     120 |  AX25_PROTO_DAMA_MASTER,
         |  ^~~~~~~~~~~~~~~~~~~~~~

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

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

:::::: The code at line 121 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: 74239 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200620/89a32d14/attachment-0001.gz>


More information about the dri-devel mailing list