lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202402211012.UFFWsyhQ-lkp@intel.com>
Date: Wed, 21 Feb 2024 10:59:09 +0800
From: kernel test robot <lkp@...el.com>
To: "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev,
	"Gustavo A. R. Silva" <gustavo@...eddedor.com>,
	LKML <linux-kernel@...r.kernel.org>
Subject: [gustavoars:testing/WFAMNAE-next20240215 1/1]
 drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:35:59: error:
 duplicate member 'hdr'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/WFAMNAE-next20240215
head:   b50c399b249bcb0fdc709e812b4e87519937299d
commit: 3fedbc527c5726b876207557fb133a5e558c1898 [1/1] treewide: Address -Wflexible-array-member-not-at-end warnings
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240221/202402211012.UFFWsyhQ-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240221/202402211012.UFFWsyhQ-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402211012.UFFWsyhQ-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from include/linux/stddef.h:5,
                    from include/uapi/linux/posix_types.h:5,
                    from include/uapi/linux/types.h:14,
                    from include/linux/types.h:6,
                    from include/linux/kcsan-checks.h:14,
                    from include/asm-generic/barrier.h:17,
                    from arch/alpha/include/asm/barrier.h:21,
                    from arch/alpha/include/asm/rwonce.h:10,
                    from include/linux/compiler.h:251,
                    from include/linux/build_bug.h:5,
                    from include/linux/container_of.h:5,
                    from include/linux/list.h:5,
                    from include/linux/timer.h:5,
                    from include/linux/netdevice.h:24,
                    from include/trace/events/xdp.h:8,
                    from include/linux/bpf_trace.h:5,
                    from drivers/net/ethernet/netronome/nfp/nfd3/dp.c:4:
>> drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:35:59: error: duplicate member 'hdr'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |                                                           ^~~
   include/uapi/linux/stddef.h:29:46: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                                              ^~~~
   drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:36:48: error: duplicate member 'hdr'
      36 |                             struct nfp_ccm_hdr hdr;
         |                                                ^~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:37:36: error: duplicate member 'ep_id'
      37 |                             __be32 ep_id;
         |                                    ^~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:38:32: error: duplicate member 'resv'
      38 |                             u8 resv[3];
         |                                ^~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:39:32: error: duplicate member 'opcode'
      39 |                             u8 opcode;
         |                                ^~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:40:32: error: duplicate member 'key_len'
      40 |                             u8 key_len;
         |                                ^~~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:41:36: error: duplicate member 'ipver_vlan'
      41 |                             __be16 ipver_vlan __packed;
         |                                    ^~~~~~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:42:32: error: duplicate member 'l4_proto'
      42 |                             u8 l4_proto;
         |                                ^~~~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
--
   In file included from include/linux/stddef.h:5,
                    from include/uapi/linux/posix_types.h:5,
                    from include/uapi/linux/types.h:14,
                    from include/linux/types.h:6,
                    from include/linux/kcsan-checks.h:14,
                    from include/asm-generic/barrier.h:17,
                    from arch/alpha/include/asm/barrier.h:21,
                    from arch/alpha/include/asm/rwonce.h:10,
                    from include/linux/compiler.h:251,
                    from include/linux/build_bug.h:5,
                    from include/linux/container_of.h:5,
                    from include/linux/list.h:5,
                    from include/linux/timer.h:5,
                    from include/linux/netdevice.h:24,
                    from include/trace/events/xdp.h:8,
                    from include/linux/bpf_trace.h:5,
                    from drivers/net/ethernet/netronome/nfp/nfdk/dp.c:4:
>> drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:35:59: error: duplicate member 'hdr'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |                                                           ^~~
   include/uapi/linux/stddef.h:29:46: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                                              ^~~~
   drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:36:48: error: duplicate member 'hdr'
      36 |                             struct nfp_ccm_hdr hdr;
         |                                                ^~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:37:36: error: duplicate member 'ep_id'
      37 |                             __be32 ep_id;
         |                                    ^~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:38:32: error: duplicate member 'resv'
      38 |                             u8 resv[3];
         |                                ^~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:39:32: error: duplicate member 'opcode'
      39 |                             u8 opcode;
         |                                ^~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:40:32: error: duplicate member 'key_len'
      40 |                             u8 key_len;
         |                                ^~~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:41:36: error: duplicate member 'ipver_vlan'
      41 |                             __be16 ipver_vlan __packed;
         |                                    ^~~~~~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:42:32: error: duplicate member 'l4_proto'
      42 |                             u8 l4_proto;
         |                                ^~~~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/nfdk/../crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
--
   In file included from include/linux/stddef.h:5,
                    from include/uapi/linux/posix_types.h:5,
                    from include/uapi/linux/types.h:14,
                    from include/linux/types.h:6,
                    from include/linux/kcsan-checks.h:14,
                    from include/asm-generic/barrier.h:17,
                    from arch/alpha/include/asm/barrier.h:21,
                    from arch/alpha/include/asm/rwonce.h:10,
                    from include/linux/compiler.h:251,
                    from include/linux/build_bug.h:5,
                    from include/linux/bitfield.h:10,
                    from drivers/net/ethernet/netronome/nfp/nfp_net_common.c:14:
>> drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:59: error: duplicate member 'hdr'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |                                                           ^~~
   include/uapi/linux/stddef.h:29:46: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                                              ^~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:36:48: error: duplicate member 'hdr'
      36 |                             struct nfp_ccm_hdr hdr;
         |                                                ^~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/crypto/fw.h:37:36: error: duplicate member 'ep_id'
      37 |                             __be32 ep_id;
         |                                    ^~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/crypto/fw.h:38:32: error: duplicate member 'resv'
      38 |                             u8 resv[3];
         |                                ^~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/crypto/fw.h:39:32: error: duplicate member 'opcode'
      39 |                             u8 opcode;
         |                                ^~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/crypto/fw.h:40:32: error: duplicate member 'key_len'
      40 |                             u8 key_len;
         |                                ^~~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/crypto/fw.h:41:36: error: duplicate member 'ipver_vlan'
      41 |                             __be16 ipver_vlan __packed;
         |                                    ^~~~~~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/crypto/fw.h:42:32: error: duplicate member 'l4_proto'
      42 |                             u8 l4_proto;
         |                                ^~~~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
--
   In file included from include/linux/stddef.h:5,
                    from include/uapi/linux/posix_types.h:5,
                    from include/uapi/linux/types.h:14,
                    from include/linux/types.h:6,
                    from include/linux/kcsan-checks.h:14,
                    from include/asm-generic/barrier.h:17,
                    from arch/alpha/include/asm/barrier.h:21,
                    from arch/alpha/include/asm/rwonce.h:10,
                    from include/linux/compiler.h:251,
                    from include/linux/build_bug.h:5,
                    from include/linux/bitfield.h:10,
                    from drivers/net/ethernet/netronome/nfp/crypto/tls.c:4:
>> drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:59: error: duplicate member 'hdr'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |                                                           ^~~
   include/uapi/linux/stddef.h:29:46: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                                              ^~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:36:48: error: duplicate member 'hdr'
      36 |                             struct nfp_ccm_hdr hdr;
         |                                                ^~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/crypto/fw.h:37:36: error: duplicate member 'ep_id'
      37 |                             __be32 ep_id;
         |                                    ^~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/crypto/fw.h:38:32: error: duplicate member 'resv'
      38 |                             u8 resv[3];
         |                                ^~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/crypto/fw.h:39:32: error: duplicate member 'opcode'
      39 |                             u8 opcode;
         |                                ^~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/crypto/fw.h:40:32: error: duplicate member 'key_len'
      40 |                             u8 key_len;
         |                                ^~~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/crypto/fw.h:41:36: error: duplicate member 'ipver_vlan'
      41 |                             __be16 ipver_vlan __packed;
         |                                    ^~~~~~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/netronome/nfp/crypto/fw.h:42:32: error: duplicate member 'l4_proto'
      42 |                             u8 l4_proto;
         |                                ^~~~~~~~
   include/uapi/linux/stddef.h:29:30: note: in definition of macro '__struct_group'
      29 |                 struct TAG { MEMBERS } ATTRS NAME; \
         |                              ^~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/fw.h:35:9: note: in expansion of macro 'struct_group_tagged'
      35 |         struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
         |         ^~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/netronome/nfp/crypto/tls.c: In function 'nfp_net_tls_set_ipv6':
>> drivers/net/ethernet/netronome/nfp/crypto/tls.c:199:19: error: 'struct nfp_crypto_req_add_front_hdr' has no member named 'key_len'
     199 |         req->front.key_len += sizeof(struct in6_addr) * 2;
         |                   ^
.


vim +/hdr +35 drivers/net/ethernet/netronome/nfp/nfd3/../crypto/fw.h

    33	
    34	struct nfp_crypto_req_add_front {
  > 35		struct_group_tagged(nfp_crypto_req_add_front_hdr, hdr,
  > 36				    struct nfp_ccm_hdr hdr;
  > 37				    __be32 ep_id;
  > 38				    u8 resv[3];
  > 39				    u8 opcode;
  > 40				    u8 key_len;
  > 41				    __be16 ipver_vlan __packed;
  > 42				    u8 l4_proto;
    43	#define NFP_NET_TLS_NON_ADDR_KEY_LEN	8
    44		);
    45		u8 l3_addrs[];
    46	};
    47	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ