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

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

 



tree:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
head:   cade363a69762c57ffb58f91b47670df7ca520bf
commit: f0b7c5c4d7beea0cd83b2f8659faf9fd406137e6 [9/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 e6a39f00e8d0cd3684df54fb03d288efe2969202)
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout f0b7c5c4d7beea0cd83b2f8659faf9fd406137e6
        # save the attached .config to linux build tree
        COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   In file included from net/ax25/ax25_addr.c:16:
>> 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.

vim +/AX25_PROTO_DAMA_MASTER +125 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 125 was first introduced by commit
:::::: c7c694d196a39af6e644e24279953d04f30362db [AX.25]: Fix potencial memory hole.

:::::: TO: Ralf Baechle DL5RB <ralf@xxxxxxxxxxxxxx>
:::::: CC: David S. Miller <davem@xxxxxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux