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

kbuild test robot lkp at intel.com
Mon Apr 20 14:11:23 UTC 2020


tree:   git://anongit.freedesktop.org/drm-intel topic/core-for-CI
head:   d0435a9b45070b945578c093dcd363b6b73a502c
commit: 198db0fc276cdf8e1bb66a4a03473dbea1400d18 [18/20] Revert "drm/i915: Don't select BROKEN"
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        git checkout 198db0fc276cdf8e1bb66a4a03473dbea1400d18
        # save the attached .config to linux build tree
        make 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 drivers/net/hamradio/mkiss.c:30:0:
>> include/net/ax25.h:121:24: error: redeclaration of enumerator 'AX25_PROTO_DAMA_MASTER'
    #define AX25_PROTO_MAX AX25_PROTO_DAMA_MASTER
                           ^
   include/net/ax25.h:125:2: note: in expansion of macro 'AX25_PROTO_MAX'
     AX25_PROTO_MAX = __AX25_PROTO_MAX -1
     ^~~~~~~~~~~~~~
   include/net/ax25.h:120:2: note: previous definition of 'AX25_PROTO_DAMA_MASTER' was here
     AX25_PROTO_DAMA_MASTER,
     ^~~~~~~~~~~~~~~~~~~~~~
--
   drivers/xen/xen-acpi-memhotplug.c: In function 'xen_hotadd_memory':
>> drivers/xen/xen-acpi-memhotplug.c:48:7: error: implicit declaration of function 'HYPERVISOR_dom0_op'; did you mean 'HYPERVISOR_dm_op'? [-Werror=implicit-function-declaration]
     rc = HYPERVISOR_dom0_op(&op);
          ^~~~~~~~~~~~~~~~~~
          HYPERVISOR_dm_op
   cc1: some warnings being treated as errors
--
   drivers/staging/rtl8712/rtl8712_xmit.c: In function 'r8712_dump_aggr_xframe':
>> drivers/staging/rtl8712/rtl8712_xmit.c:360:28: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     struct tx_desc *ptxdesc = pxmitbuf->pbuf;
                               ^~~~~~~~
   cc1: some warnings being treated as errors
--
   In file included from drivers/staging/greybus/camera.c:19:0:
>> drivers/staging/greybus/gb-camera.h:33:27: error: field 'pixel_code' has incomplete type
     enum v4l2_mbus_pixelcode pixel_code;
                              ^~~~~~~~~~
>> drivers/staging/greybus/camera.c:20:10: fatal error: greybus_protocols.h: No such file or directory
    #include "greybus_protocols.h"
             ^~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
--
>> drivers/staging/media/soc_camera/soc_mediabus.c:19:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "YUYV",
       ^~~~
>> drivers/staging/media/soc_camera/soc_mediabus.c:19:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "YUYV",
                ^~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:29:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "YVYU",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:29:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "YVYU",
                ^~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:39:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "UYVY",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:39:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "UYVY",
                ^~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:49:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "VYUY",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:49:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "VYUY",
                ^~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:59:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "RGB555",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:59:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "RGB555",
                ^~~~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:69:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "RGB555X",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:69:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "RGB555X",
                ^~~~~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:79:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "RGB565",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:79:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "RGB565",
                ^~~~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:89:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "RGB565X",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:89:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "RGB565X",
                ^~~~~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:99:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "RGB666/32bpp",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:99:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "RGB666/32bpp",
                ^~~~~~~~~~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:108:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "RGB888/32bpp",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:108:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "RGB888/32bpp",
                ^~~~~~~~~~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:117:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "RGB888/32bpp",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:117:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "RGB888/32bpp",
                ^~~~~~~~~~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:126:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "RGB888/32bpp",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:126:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "RGB888/32bpp",
                ^~~~~~~~~~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:135:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "Bayer 8 BGGR",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:135:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "Bayer 8 BGGR",
                ^~~~~~~~~~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:145:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "Bayer 10 BGGR",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:145:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "Bayer 10 BGGR",
                ^~~~~~~~~~~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:155:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "Grey",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:155:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "Grey",
                ^~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:165:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "Grey 10bit",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:165:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "Grey 10bit",
                ^~~~~~~~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:175:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "Bayer 10 BGGR",
       ^~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:175:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
      .name   = "Bayer 10 BGGR",
                ^~~~~~~~~~~~~~~
   drivers/staging/media/soc_camera/soc_mediabus.c:185:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
      .name   = "Bayer 10 BGGR",

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: 73692 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20200420/b9ce2351/attachment-0001.gz>


More information about the Intel-gfx mailing list