From: Pablo de Lara Date: Mon, 10 Jul 2017 02:59:23 +0000 (+0100) Subject: cryptodev: fix build with icc X-Git-Tag: spdx-start~2522 X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=commitdiff_plain;h=f51fd44d645fc1914bbaeda67c2210f6e06c44e6 cryptodev: fix build with icc Removed unnecessary macro RTE_STD_C11, which is used for unnamed structs. Since there is no longer an unnamed structure in rte_cryptodev_sym_session, this is not needed and it is actually breaking compilation on icc: lib/librte_cryptodev/rte_cryptodev.h(887): error: expected a declaration __extension__ void *sess_private_data[0]; ^ Fixes: 7c110ce7aa4e ("cryptodev: remove mempool from session") Signed-off-by: Pablo de Lara Acked-by: Declan Doherty --- diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h index ca7cbdd8d4..1d975e5f93 100644 --- a/lib/librte_cryptodev/rte_cryptodev.h +++ b/lib/librte_cryptodev/rte_cryptodev.h @@ -883,7 +883,6 @@ rte_cryptodev_enqueue_burst(uint8_t dev_id, uint16_t qp_id, /** Cryptodev symmetric crypto session */ struct rte_cryptodev_sym_session { - RTE_STD_C11 __extension__ void *sess_private_data[0]; /**< Private session material */ };