Thread (2 messages) 2 messages, 2 authors, 2022-01-04

[5.16.0-rc7] net-next build broken on powerpc

From: Abdul Haleem <hidden>
Date: 2022-01-03 13:43:05
Also in: linuxppc-dev, lkml

Greeting's

Today's netdev/net-next kernel 5.16.0-rc7 failed to build on my powerpc box with below error

   CC [M]  drivers/net/ethernet/mellanox/mlx5/core/en_main.o
In file included from ./arch/powerpc/include/generated/asm/rwonce.h:1,
                  from ./include/linux/compiler.h:266,
                  from ./arch/powerpc/include/asm/cmpxchg.h:6,
                  from ./arch/powerpc/include/asm/atomic.h:11,
                  from ./include/linux/atomic.h:7,
                  from ./include/linux/refcount.h:95,
                  from ./include/net/act_api.h:9,
                  from ./include/net/tc_act/tc_gact.h:5,
                  from drivers/net/ethernet/mellanox/mlx5/core/en_main.c:33:
drivers/net/ethernet/mellanox/mlx5/core/en_main.c: In function ‘mlx5e_alloc_rq’:
./include/linux/rcupdate.h:412:36: error: dereferencing pointer to incomplete type ‘struct bpf_prog’
  #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v)
                                     ^~~~
./include/asm-generic/rwonce.h:55:33: note: in definition of macro ‘__WRITE_ONCE’
   *(volatile typeof(x) *)&(x) = (val);    \
                                  ^~~
./include/linux/rcupdate.h:854:3: note: in expansion of macro ‘WRITE_ONCE’
    WRITE_ONCE(p, RCU_INITIALIZER(v)); \
    ^~~~~~~~~~
./include/linux/rcupdate.h:854:17: note: in expansion of macro ‘RCU_INITIALIZER’
    WRITE_ONCE(p, RCU_INITIALIZER(v)); \
                  ^~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_main.c:569:2: note: in expansion of macro ‘RCU_INIT_POINTER’
   RCU_INIT_POINTER(rq->xdp_prog, params->xdp_prog);
   ^~~~~~~~~~~~~~~~
make[5]: *** [scripts/Makefile.build:287: drivers/net/ethernet/mellanox/mlx5/core/en_main.o] Error 1

-- 
Regard's

Abdul Haleem
IBM Linux Technology Center

Attachments

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