net: fix pedantic build for L2TPv2 definitions
PATCH 1/1 net: fix pedantic build for L2TPv2 definitions
Build is broken on RHEL7 following introduction of this new protocol.
Fixes 3a929df1f286 ("ethdev: support L2TPv2 and PPP procotol")
Signed-off-by David Marchand <[email protected]>
--- lib/net/rte_l2tpv2.h | 1 + 1 file changed, 1 insertion(+)
lib/net/rte_l2tpv2.h +1 -0
@@ -86,6 +86,7 @@ struct rte_l2tpv2_common_hdr {union {/** header flags and protocol version */ rte_be16_t flags_version; + __extension__struct {#if RTE_BYTE_ORDER ==RTE_LITTLE_ENDIAN rte_be16_t t:1 ;/**< message Type */
Signature · 1 line
2.23.0
Hi,
Quoted 10 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of David Marchand
Sent: Sunday, October 24, 2021 2:46 PM
To: [email protected]
Cc: Olivier Matz <[email protected]>; Ferruh Yigit <[email protected]>; Ori Kam <[email protected]>; Jie Wang <[email protected]>; Wenjun Wu <[email protected]>; Andrew Rybchenko <[email protected]>
Subject: [dpdk-dev] [PATCH] net: fix pedantic build for L2TPv2 definitions
Quoted 5 lines
Build is broken on RHEL7 following introduction of this new protocol.
Fixes 3a929df1f286 ("ethdev: support L2TPv2 and PPP procotol")Signed-off-by David Marchand <[email protected]>
Tested-by Raslan Darawsheh <[email protected]>
Kindest regards
Raslan Darawsheh
David Marchand
AppliedQuoted 6 lines · Raslan Darawsheh
Quoted 5 lines
Build is broken on RHEL7 following introduction of this new protocol.
Fixes 3a929df1f286 ("ethdev: support L2TPv2 and PPP procotol")Signed-off-by David Marchand <[email protected]>Tested-by Raslan Darawsheh <[email protected]>
Applied, thanks.
Signature · 1 line
David Marchand