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
| ||
|
Message-ID: <7c03768d-d948-c935-a7ab-b1f963ac7eed@linux.vnet.ibm.com>
Date: Mon, 3 Jan 2022 19:10:01 +0530
From: Abdul Haleem <abdhalee@...ux.vnet.ibm.com>
To: netdev <netdev@...r.kernel.org>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>, saeedm@...dia.com,
kuba@...nel.org, sachinp <sachinp@...ux.vnet.ibm.com>
Subject: [5.16.0-rc7] net-next build broken on powerpc
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
View attachment "ZZ-VM-config.txt" of type "text/plain" (147144 bytes)
Powered by blists - more mailing lists