[PATCH v2 2/3] net/sfc: fix non-constant expression inr RTE_BUILD_BUG_ON()

Stephen Hemminger stephen at networkplumber.org
Tue Nov 14 01:22:09 CET 2023


On Mon, 13 Nov 2023 16:16:35 -0800
Stephen Hemminger <stephen at networkplumber.org> wrote:

>   _Static_assert(!(0 != 0), "RTE_MBUF_F_RX_IP_CKSUM_UNKNOWN != 0");

Looks like a clang bug, or something about the other compiler flags
because compiling just this part is fine.


More information about the dev mailing list