From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 8113829D2 for ; Thu, 23 Nov 2017 11:02:59 +0100 (CET) Received: by mail-wm0-f67.google.com with SMTP id u83so15682744wmb.5 for ; Thu, 23 Nov 2017 02:02:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=7rCIav338GAKt3zeDNaWIgNVZG4KEZkbSJksVZ4tRT0=; b=VEt21ZfUVfQNylWkbsw5OXciQvNLyWf97mTw8I+ZblECwpOlPfmrOJ+rVScNperEU/ UtVivv8Y+2Rz/nK+63sek96tKZnRDCNb7g3sjvZoCE2d4xwVI4thw9lBB0og23A3BlEU hFCKJ+qmfzWJJaLixwm8UTc9EpjDHB5yrV2CY/0tTUbp5NmZZylCFSp8L5sglQLj/eSJ r445A5Z+4b1XKXMle7XihjTLvYn92/uLRvpMcj1qn3lCrYul1LMtNBD8cFTEoe0xDIaf GmA5sb/T8t8ZQMLc9w5/ryfqvJPR9mmsFON44FyX6cvBTLFi7hfyNIb8zib+hz+Euzgb zhdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=7rCIav338GAKt3zeDNaWIgNVZG4KEZkbSJksVZ4tRT0=; b=ufvfw5v3xM3zJFGwaNEkjFjb7aqDYtDt7NDSg8+LiogalBxpgKcWBw+x8/Ip/ax2Un 7HZbO/BUVgvqZ95LqVUMjMTU41iJPNCgR/QDNNlwR7Oa+sz+ChWnN/imklkxODsMwRpz FZO6Xyq01jb2ZdZcxRxFBvDb+J7CXxjaLlJfTkUkWXkiPB76Qeq3F7+GGsNbVHJ8/zJA eSZ6ZB6YCArU71+QAvFTd82UBwYtEJTy1wAH1J7Ze1f6WMdscQT2xDuiQtZQZ4YFpQnI FnWthgUWCtABEfxzWsmwuJGCILoWKhpNx9tvnCrP8aspxcjak6BJ5pwDxHFfDi0zVwoM e2GA== X-Gm-Message-State: AJaThX7vTpj7oTYQluwBsrlWmdIdl/fIXHqiRvnZdEuubZqhZEenW2hQ QIev1XQOglneuYoL4UQBnzNZTlPGhw== X-Google-Smtp-Source: AGs4zMYHsVMyQqg028Zyojg4gnspCOAN2l2c3W0cJvddXBZVzhX4cJUMhFpOuNJoK39/LGmilCXtYQ== X-Received: by 10.80.226.198 with SMTP id q6mr11552953edl.290.1511431379309; Thu, 23 Nov 2017 02:02:59 -0800 (PST) Received: from laranjeiro-vm.dev.6wind.com. (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id q12sm13246499edj.29.2017.11.23.02.02.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Nov 2017 02:02:58 -0800 (PST) From: Nelio Laranjeiro To: Akhil Goyal , Declan Doherty Cc: dev@dpdk.org, Gaetan Rivet , stable@dpdk.org Date: Thu, 23 Nov 2017 11:02:39 +0100 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: <5ed1354d41a6370faa8887a6f3acd1e20ef09668.1511431327.git.nelio.laranjeiro@6wind.com> References: <5ed1354d41a6370faa8887a6f3acd1e20ef09668.1511431327.git.nelio.laranjeiro@6wind.com> In-Reply-To: <1c3b73f0912ad4b3da8423590dc76fc83df16b80.1511338151.git.nelio.laranjeiro@6wind.com> References: <1c3b73f0912ad4b3da8423590dc76fc83df16b80.1511338151.git.nelio.laranjeiro@6wind.com> Subject: [dpdk-dev] [PATCH v2 3/3] security: fix pedantic compilation 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: Thu, 23 Nov 2017 10:02:59 -0000 /root/dpdk/x86_64-native-linuxapp-gcc/include/rte_security.h:229:8: error: struct has no members [-Werror=pedantic] struct rte_security_macsec_xform { ^~~~~~~~~~~~~~~~~~~~~~~~~ /root/dpdk/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: akhil.goyal@nxp.com Cc: stable@dpdk.org Signed-off-by: Nelio Laranjeiro --- lib/librte_security/rte_security.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_security.h index 679c0a696..bcce7a189 100644 --- a/lib/librte_security/rte_security.h +++ b/lib/librte_security/rte_security.h @@ -228,6 +228,7 @@ struct rte_security_ipsec_xform { */ struct rte_security_macsec_xform { /** To be Filled */ + int dummy; }; /** @@ -471,6 +472,7 @@ struct rte_security_capability { /**< IPsec capability */ struct { /* To be Filled */ + int dummy; } macsec; /**< MACsec capability */ }; -- 2.11.0