From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 3EEB71D8A for ; Wed, 22 Nov 2017 09:10:33 +0100 (CET) Received: by mail-wm0-f66.google.com with SMTP id x63so8222092wmf.4 for ; Wed, 22 Nov 2017 00:10:33 -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=Ywc4P/5OpnSSucXhcWRgbfWG/xUCcIzEZDgSp4zIsI1MuMNV6K787jjHqlHo0Bsp2/ D6ge7kZFMGP2JYLe1Q2TavBpwt3LZCb7GC8ckIX/3oTsefp4wuVCCj+akoEk0OV4l9xC NU3xevC4cPoUF8snvuSNRYdo4A32/tsAeOrKaa+Y6BP11tk/knHW2UyJapsgOJRxosWS XZu/lfKMVBzq76NRLQK1tBO0dL/ibDyCSaftSfW0XPQFE0KzkYDbk+SoDbpJJXMXK8Nj 8nEglKl4+HfnztBLX0J7SyKMty9Gr9RQmdHWQJlECOL1KUKg4Sb5aoABLD1IsUQomqvx ifPQ== 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=Ve8n1BT2sEWPAsQbYJRqjnZchzDXsYVQvmjkEjdXl44Vvcj15njBhDm3XS6FeVOBkt 201Rp9cvnQjeJM0UPyC6pgtqTe3O9CGxYnFehPZtkt+VCuGhOiDgPPgJXCM6P1UYvqXN NN/a3FmmKaOZ1TjE+RfZCww2Ya1zVlxleU8Upd2bZD5smhVXfnTWPzj1KRA/A/Pec/YU ESSA+lmHJhdHewJo/Rnui/Adg/Nvq/SjDPtMfshC8Tzg5O/Tj/QQInbVGWDzI1zsI88s nHDcONcIGr2zo/CEb9CAPLRmYEPbYwZq0Y6h5Fah74UeVsaAlbkz3tKsEoVtjGO28J6H 9h8A== X-Gm-Message-State: AJaThX6iH1t12O0zrcQsKcKam6WBQukMuOIAnqHYNFbLXTlKpaYt9mhy 5fDL4WdFDur+9QuFPuoR5OIM X-Google-Smtp-Source: AGs4zMaYZrbhBIzU7QlRLaBzz/L+XO6Elnx11Dcobp6zheu2d5T+A5Rf7ebnUTEaumldt55v3UnpFQ== X-Received: by 10.80.152.72 with SMTP id h8mr29431455edb.9.1511338232994; Wed, 22 Nov 2017 00:10:32 -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 w14sm10555892edi.26.2017.11.22.00.10.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Nov 2017 00:10:32 -0800 (PST) From: Nelio Laranjeiro To: Akhil Goyal , Declan Doherty Cc: dev@dpdk.org, stable@dpdk.org Date: Wed, 22 Nov 2017 09:10:18 +0100 Message-Id: <1c3b73f0912ad4b3da8423590dc76fc83df16b80.1511338151.git.nelio.laranjeiro@6wind.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <2efb17c107b980d2aea8007d19bc6363e751be10.1511338151.git.nelio.laranjeiro@6wind.com> References: <2efb17c107b980d2aea8007d19bc6363e751be10.1511338151.git.nelio.laranjeiro@6wind.com> In-Reply-To: <2efb17c107b980d2aea8007d19bc6363e751be10.1511338151.git.nelio.laranjeiro@6wind.com> References: <2efb17c107b980d2aea8007d19bc6363e751be10.1511338151.git.nelio.laranjeiro@6wind.com> Subject: [dpdk-dev] [PATCH 3/3] security: fix pedentic 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: Wed, 22 Nov 2017 08:10:33 -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