[next] [s390 ] net: mlx5: tc_tun.h:24:29: error: field 'match_level' has incomplete type

2 messages, 2 authors, 2021-02-10 · open the first message on its own page

[next] [s390 ] net: mlx5: tc_tun.h:24:29: error: field 'match_level' has incomplete type

From: Naresh Kamboju <hidden>
Date: 2021-02-10 05:21:50

While building Linux next tag 20210209 s390 (defconfig) with gcc-9
make modules failed.
  - s390 (defconfig) with gcc-8 - FAILED
  - s390 (defconfig) with gcc-9 - FAILED
  - s390 (defconfig) with gcc-10 - FAILED

make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=s390
CROSS_COMPILE=s390x-linux-gnu- 'CC=sccache s390x-linux-gnu-gcc'
'HOSTCC=sccache gcc'
In file included from drivers/net/ethernet/mellanox/mlx5/core/en_tc.h:40,
                 from drivers/net/ethernet/mellanox/mlx5/core/en_main.c:45:
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:24:29: error:
field 'match_level' has incomplete type
   24 |  enum mlx5_flow_match_level match_level;
      |                             ^~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h:27:26: warning:
'struct mlx5e_encap_entry' declared inside parameter list will not be
visible outside of this definition or declaration
   27 |  int (*calc_hlen)(struct mlx5e_encap_entry *e);
      |                          ^~~~~~~~~~~~~~~~~

Reported-by: Naresh Kamboju <redacted>

build link,
https://builds.tuxbuild.com/1oF9mT3pKaPfVIptyzGbiNjKW0m/

-- 
Linaro LKFT
https://lkft.linaro.org

Re: [next] [s390 ] net: mlx5: tc_tun.h:24:29: error: field 'match_level' has incomplete type

From: Saeed Mahameed <saeed@kernel.org>
Date: 2021-02-10 05:36:19

On Wed, 2021-02-10 at 10:50 +0530, Naresh Kamboju wrote:
While building Linux next tag 20210209 s390 (defconfig) with gcc-9
make modules failed.
...
Reported-by: Naresh Kamboju <redacted>
Thanks for the report a patch was already posted earlier today
https://patchwork.kernel.org/project/netdevbpf/patch/20210209203722.12387-1-saeed@kernel.org/

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help