security: fix pedantic compilation
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Thu, 23 Nov 2017 10:02:39 +0000 (11:02 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Sat, 20 Jan 2018 15:08:34 +0000 (16:08 +0100)
commit9ee625c2cfaa2bd0e0b8f8beecdd3ed0a06e8cd5
tree8e553a09bb0c2970ce2558d75fa9812afcc71c67
parent81c8dff2fd3d5d0f32961002011187ca92d3fef5
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: c261d1431bd8 ("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>
lib/librte_security/rte_security.h