security: fix pedantic compilation
/x86_64-native-linuxapp-gcc/include/rte_security.h:229:8:
error: struct has no members [-Werror=pedantic]
struct rte_security_macsec_xform {
^~~~~~~~~~~~~~~~~~~~~~~~~
/x86_64-native-linuxapp-gcc/include/rte_security.h:453:3:
error: struct has no members [-Werror=pedantic]
struct {
^~~~~~
Fixes: c261d1431b
("security: introduce security API and framework")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
This commit is contained in:
parent
81c8dff2fd
commit
9ee625c2cf
@ -228,6 +228,7 @@ struct rte_security_ipsec_xform {
|
||||
*/
|
||||
struct rte_security_macsec_xform {
|
||||
/** To be Filled */
|
||||
int dummy;
|
||||
};
|
||||
|
||||
/**
|
||||
@ -452,6 +453,7 @@ struct rte_security_capability {
|
||||
/**< IPsec capability */
|
||||
struct {
|
||||
/* To be Filled */
|
||||
int dummy;
|
||||
} macsec;
|
||||
/**< MACsec capability */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user