From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id A27D31B7A9 for ; Tue, 15 May 2018 15:48:16 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id j4-v6so1186469wme.1 for ; Tue, 15 May 2018 06:48:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XmMWaGNgkeLDnNgPS+jLgTDHY0uNkoIpK7mFbngQWB8=; b=PJ4Glok9om2QvRh6uIN2V1D2QkykQhGygaigQub8tRxywSnYGl4PLYC5rsDWCy2SQy NpWwD0R++RzkVXAL1LYCJF6sxlGbLKlPWFU9DhbRRB+fvBKb+nZrzHRcC4Xq4jWL5Gqb IpvaYUMHSb/2Zjkj3wLVxDNowNBh59F4TYeW1yw2nQrNyFrmRZ60jNscU1nOZA4TkC2u GrD5EQl+D6HylyMYWRdCJVRDiN9/dfICj+RfH1qotcpbZBjjY9LWb0SUGJAmBK96KCm0 7uo1tmQSLOJhdTxgsn2R9fW/X2zirM6J2XDBDfFOT9dcZXFIRZ5bBWcZwCPljTzoUG7z XIBA== 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; bh=XmMWaGNgkeLDnNgPS+jLgTDHY0uNkoIpK7mFbngQWB8=; b=PdHDr/0sxaAoVh1vRrelbVUDpY22fQdsHQHvsr9zThHklCrrUqhFwAV96tGnUJJOH4 ttKQcSMhQ+wCsbIevffZ6YoGA7EdzrwRFrWDnRD3J/FHHRcy9f/EdlFTmj4Dt5N2domi QaQhWaRVYYQIbib0TodGegSF95WpS5gAv88ZBIKUlTaLFEIGhkatuy+L6t5XvfBStk7K iXJcMpWW8QqZ4deivlnPWuvhk63KDT5SnvUgMTTEaO1HRtOMuFHHzLTWc+5scFu4c28I neq/4lgpaU30hCix6iZoyImfUyeA24UmM7RplyDfOH9sdCDUEBTT6e54KUk/HiU5TCGW j97g== X-Gm-Message-State: ALKqPwce3p8Jpon9kHApHlz647gJkIMY8BZchL4dh2S9CgPk0nX/eT4X bHYbmyCL1X5k91q6xpGZuQ4= X-Google-Smtp-Source: AB8JxZpq9BY0shvPdVDWZbFxPVckkiltYtjf9ENyLirL6WvFq47Xc4QLFpDGMYN7HEJgxh4kVS6pMg== X-Received: by 2002:a1c:618b:: with SMTP id v133-v6mr8079724wmb.75.1526392096330; Tue, 15 May 2018 06:48:16 -0700 (PDT) Received: from localhost (slip139-92-244-193.lon.uk.prserv.net. [139.92.244.193]) by smtp.gmail.com with ESMTPSA id b123-v6sm605231wme.22.2018.05.15.06.48.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 06:48:15 -0700 (PDT) From: luca.boccassi@gmail.com To: David Hunt Cc: Reshma Pattan , Pablo de Lara , dpdk stable Date: Tue, 15 May 2018 14:46:31 +0100 Message-Id: <20180515134731.9337-20-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515134731.9337-1-luca.boccassi@gmail.com> References: <20180503110612.12146-2-luca.boccassi@gmail.com> <20180515134731.9337-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'test/pipeline: fix return type of stub miss' has been queued to stable release 18.02.2 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: Tue, 15 May 2018 13:48:16 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 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/16/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From ed0669ab022fce3d8b25a0907f2d751d3f72e77a 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 055a1a4e7..5ec4c5244 100644 --- a/test/test/test_table_pipeline.c +++ b/test/test/test_table_pipeline.c @@ -69,7 +69,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); @@ -101,7 +101,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.14.2