From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id DCEFA8D9F for ; Sun, 20 May 2018 15:08:44 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8B9A521D23; Sun, 20 May 2018 09:08:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 20 May 2018 09:08:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=tattnaPm6YfKqLSkP Ju6bB6PKUAKFj1+52lkR2oxUj0=; b=Z2G58DnarHWI0YAAIhvp6prid/RpKXBpz cP6ecjXFM054bC207peQUh1TO1ceQ6BWbyv4aWCEwlmLBAdpgzNsTKK8rbKYF3dE 3fQwvRDA8OpdaAYviH1xKgqc4ksoiOdOAWCLukg7MsjHLZLYI5Tmo2Q/let1f89G 2j9SIrm2nxC7rCzzThkK12jnxmRG891hERiOpS3t7g2qdaAFS3218WrG0Q1D0El4 LLAgyMr8t3XCZsRqJF9dAJj3+KDnxPcRqzlsrgHKhY4HHhYfIHY6U6rackUOZWgL Z+nNUOfn0TyjvCDcKSTmvleOGCYciKxgs9Ifo4Crb5r+zdhKNJDBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=tattnaPm6YfKqLSkPJu6bB6PKUAKFj1+52lkR2oxUj0=; b=VBsCMtSW tUsLKHrppH9dDzdq8waywP80NN0XJrGzKk0V5aFd2N7ZUQQK+SsdHiTVCxjZtsnS FxAY+rG6+uvHJ5jX2dRL59EqEuNuiiwAbZH56gJ037xQun4OCcSbZ4D1r3SIAgEz me8B8b9i+j5VPovvfd2MCTBnMjoT3Q2uQlq28/f9TPscARgU00BXGoXIriH6VMPR MCYTHQESz4SSFVh5AB3atW27Ww8QikStSrUoLNZ9C5oTSWE3etXmEvCK6R7e0cqS D0fhSWEW5z5NhbSBPXom2qgHHCGaBrvynRgtWLipCynAlWeAE88CU7F+uqAJXYZM c4Lq7tewPawzAw== X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from yuanhanliu-NB0.tencent.com (unknown [223.74.148.80]) by mail.messagingengine.com (Postfix) with ESMTPA id 839721025C; Sun, 20 May 2018 09:08:42 -0400 (EDT) From: Yuanhan Liu To: David Hunt Cc: Reshma Pattan , Pablo de Lara , dpdk stable Date: Sun, 20 May 2018 21:02:23 +0800 Message-Id: <20180520130246.16287-7-yliu@fridaylinux.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180520130246.16287-1-yliu@fridaylinux.org> References: <20180520130246.16287-1-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'test/pipeline: fix return type of stub miss' has been queued to LTS release 17.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2018 13:08:45 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/27/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 5db08af6db78fe29e0a130e46690e56b3eab7852 Mon Sep 17 00:00:00 2001 From: David Hunt Date: Thu, 10 May 2018 08:38:15 +0100 Subject: [PATCH] test/pipeline: fix return type of stub miss [ upstream commit 97d84c7823a3c41c63163d5e70201c0b7fdae1fb ] New warning with gcc 8.1: The table_action_stub_miss() function was incorrectly declared as returning a typedef of rte_pipeline_table_action_handler_miss, instead of what it should have been, an int. Changed this to declare the function as returning an int, and now when the action_handler_miss is set to table_action_stub_miss (cast as rte_pipeline_table_action_handler_miss), gcc 8.1 no longer complains about the cast. Fixes: 5205954791cb ("app/test: packet framework unit tests") Signed-off-by: David Hunt Reviewed-by: Reshma Pattan Acked-by: Pablo de Lara --- test/test/test_table_pipeline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test/test_table_pipeline.c b/test/test/test_table_pipeline.c index a6fef721d..204e372ec 100644 --- a/test/test/test_table_pipeline.c +++ b/test/test/test_table_pipeline.c @@ -98,7 +98,7 @@ rte_pipeline_table_action_handler_hit table_action_stub_hit(struct rte_pipeline *p, struct rte_mbuf **pkts, uint64_t pkts_mask, struct rte_pipeline_table_entry **entry, void *arg); -rte_pipeline_table_action_handler_miss +static int table_action_stub_miss(struct rte_pipeline *p, struct rte_mbuf **pkts, uint64_t pkts_mask, struct rte_pipeline_table_entry **entry, void *arg); @@ -130,7 +130,7 @@ table_action_stub_hit(__attribute__((unused)) struct rte_pipeline *p, return 0; } -rte_pipeline_table_action_handler_miss +static int table_action_stub_miss(struct rte_pipeline *p, __attribute__((unused)) struct rte_mbuf **pkts, uint64_t pkts_mask, -- 2.11.0