From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CAD0AA00C5; Wed, 2 Feb 2022 07:50:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8C55B426D5; Wed, 2 Feb 2022 07:50:45 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id F383D426D2 for ; Wed, 2 Feb 2022 07:50:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643784644; x=1675320644; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=eRJfJ8fKInDIN1oELI6xc+ceo5GrqSTJnjueYZUP80g=; b=E218g7wnr119z1Le8VB0bCUblzKAqhbtKNLC9biSbnw7+PC5y3lAUgd7 1fcZGbVwOKNFLVb6/XWoc4i9WLqLWdTrn7lFXS3AKLpClk6QTiiblvhc4 jLXRubRckTsWrIX86DdT4sCDKsbpN4J2seKRD6F4YNvT4QLTAEFYXYvxE 0RhCKPpAW+My3ZRkL9OiZdNtLZ43ain+LB3CX0Zc4DT/HllFXVyzPYzRv uW63zLlCd7ib8Pj5gHv5ShdGh/tRrznXMgmtHdlqf1DMlSUPyGMOOb3/q 73A4jNZ+hWOmNH5X8o2Ngqxp9HtnZtFtQG+8cTWE/FZeDyvjuaAuuE1Xs g==; X-IronPort-AV: E=McAfee;i="6200,9189,10245"; a="235257329" X-IronPort-AV: E=Sophos;i="5.88,336,1635231600"; d="scan'208";a="235257329" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2022 22:50:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,336,1635231600"; d="scan'208";a="480007258" Received: from silpixa00400308.ir.intel.com ([10.237.214.95]) by orsmga003.jf.intel.com with ESMTP; 01 Feb 2022 22:50:42 -0800 From: Arek Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, roy.fan.zhang@intel.com, rbalu@marvell.com, Arek Kusztal Subject: [PATCH 3/4] crypto: use rte macro instead of direct attribute Date: Wed, 2 Feb 2022 06:50:29 +0000 Message-Id: <20220202065030.23276-4-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220202065030.23276-1-arkadiuszx.kusztal@intel.com> References: <20220202065030.23276-1-arkadiuszx.kusztal@intel.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This commit replaces __extension__ attribute with RTE_STD_C11 in anonymous unions. Signed-off-by: Arek Kusztal --- lib/cryptodev/rte_crypto_asym.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cryptodev/rte_crypto_asym.h b/lib/cryptodev/rte_crypto_asym.h index 58d47158de..7bdc847702 100644 --- a/lib/cryptodev/rte_crypto_asym.h +++ b/lib/cryptodev/rte_crypto_asym.h @@ -222,7 +222,7 @@ struct rte_crypto_rsa_xform { enum rte_crypto_rsa_priv_key_type key_type; - __extension__ + RTE_STD_C11 union { rte_crypto_param d; /**< d - Private key exponent @@ -408,7 +408,7 @@ struct rte_crypto_asym_xform { enum rte_crypto_asym_xform_type xform_type; /**< Asymmetric crypto transform */ - __extension__ + RTE_STD_C11 union { struct rte_crypto_rsa_xform rsa; /**< RSA xform parameters */ @@ -642,7 +642,7 @@ struct rte_crypto_asym_op { /**< Session-less API crypto operation parameters */ }; - __extension__ + RTE_STD_C11 union { struct rte_crypto_rsa_op_param rsa; struct rte_crypto_mod_op_param modex; -- 2.13.6