From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id EC6A04CBD for ; Mon, 5 Nov 2018 18:45:38 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7974F22731; Mon, 5 Nov 2018 12:45:38 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 05 Nov 2018 12:45:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=mesmtp; bh=MRz6/1rd+NwmhXNLeiIrrcS zZWx7p3nWQ+0KIoPA+28=; b=hOfBdqmwdc4AFa20Pck6f38/GCUQ9E8IulAXzCk JhYfwUClmUnsSLlln3qxMdTjhi5r1t1bw4jqtwnCmehm9qD9wWLVGexhmufm2dGv Ex2fGWbiIMf3ZaF5fugQ55NeMhu7WLF79PkL6VqCvzgZ3S+w1Z8ocobj2H+itGdJ q+uc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=MRz6/1 rd+NwmhXNLeiIrrcSzZWx7p3nWQ+0KIoPA+28=; b=rCu8XMu0dmtMzh1AUnhp03 sR0nrY9oFKo+bEJHffRPTxAYc8uspqcKiK3X5FM24qG13DSLKiHcyMLmq9Siuug0 VqovfJ3vKMsMIN7JU78EQpkvGhwVd2NSu3yOzlguPxcGJZMrrAncyhO+/LiijrTG 1vLSsTKVkkmUPT38HaGKJMYTDhPORMC6r0Y29Hb1cY7mKLPjkV/DqPm6Vl1Ob722 WENEefW3K3uGURkMbiLUGCBdDcbxdBGH40yZw0cYt6LNnkt5klEteExgU0kuU6qn 0nNj0mx5neOcUjQ7y6+GWcMQkQBRfYLZQfUFO5enTDT5R3i9Dh8XaWmDQbePSqKQ == X-ME-Sender: X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 3E487E47C4; Mon, 5 Nov 2018 12:45:37 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: ferruh.yigit@intel.com, marko.kovacevic@intel.com Date: Mon, 5 Nov 2018 18:45:27 +0100 Message-Id: <20181105174527.15671-1-thomas@monjalon.net> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] examples/fips_validation: fix 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, 05 Nov 2018 17:45:39 -0000 The example was not added to the Makefile and there are some compilation errors: examples/fips_validation/main.c: In function ‘prepare_aead_op’: error: control reaches end of non-void function examples/fips_validation/main.c: In function ‘prepare_auth_op’: error: control reaches end of non-void function Fixes: f64adb6714e0 ("examples/fips_validation: support HMAC parsing") Fixes: 4aaad2995e13 ("examples/fips_validation: support GCM parsing") Cc: marko.kovacevic@intel.com Signed-off-by: Thomas Monjalon --- examples/Makefile | 1 + examples/fips_validation/main.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/examples/Makefile b/examples/Makefile index 356fcb1cd..33fe0e586 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -17,6 +17,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += distributor DIRS-y += ethtool DIRS-y += exception_path DIRS-$(CONFIG_RTE_LIBRTE_EFD) += server_node_efd +DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += fips_validation DIRS-$(CONFIG_RTE_LIBRTE_FLOW_CLASSIFY) += flow_classify DIRS-y += flow_filtering DIRS-y += helloworld diff --git a/examples/fips_validation/main.c b/examples/fips_validation/main.c index 0a7e75fc8..85f54cbf0 100644 --- a/examples/fips_validation/main.c +++ b/examples/fips_validation/main.c @@ -459,6 +459,8 @@ prepare_auth_op(void) } rte_crypto_op_attach_sym_session(env.op, env.sess); + + return 0; } static int @@ -526,6 +528,8 @@ prepare_aead_op(void) } rte_crypto_op_attach_sym_session(env.op, env.sess); + + return 0; } static int -- 2.19.0