From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id A986358D1 for ; Mon, 10 Jul 2017 12:59:05 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jul 2017 03:59:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,339,1496127600"; d="scan'208";a="877177428" Received: from silpixa00399464.ir.intel.com (HELO silpixa00399464.ger.corp.intel.com) ([10.237.222.157]) by FMSMGA003.fm.intel.com with ESMTP; 10 Jul 2017 03:59:03 -0700 From: Pablo de Lara To: declan.doherty@intel.com Cc: dev@dpdk.org, Pablo de Lara Date: Mon, 10 Jul 2017 03:59:23 +0100 Message-Id: <20170710025923.66395-1-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.9.4 Subject: [dpdk-dev] [PATCH] cryptodev: fix icc build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2017 10:59:06 -0000 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 --- lib/librte_cryptodev/rte_cryptodev.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h index ca7cbdd..1d975e5 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 */ }; -- 2.9.4