From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by dpdk.org (Postfix) with ESMTP id A652D1B6C1 for ; Tue, 15 May 2018 19:20:01 +0200 (CEST) Received: by mail-lf0-f68.google.com with SMTP id m17-v6so1374480lfj.8 for ; Tue, 15 May 2018 10:20:01 -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=Z3+OYL5I+0SRtzMSmUFgYRmXihaX27EFSvWDLTlEqIc=; b=bD/Is+B2MEOurT3ziRcHiYbAoKwUEdMb9oGIj0NVLy6QwL71hhDF606MbdJ6l61+zI nd9502h2dZlpTCLH1fzBwUbx3fLqM34XWPzzQNI6vUxrsCRxL1WC9wyHahR0yw415jaz PRdArGVDWDDMO9gG1lqaw/MJr8aww1kogr/4L7jRm3xKrFCDUYJ5gaBDj8jUEH1bLkBu yiZ/w87N+R+h42gbVr8KuhYlCaqdMwqiTvKn0nIPcTYwRoJBGTQWHElFGkwb78pVd7pf BeMCIJ8XCKZiwzKFDn1wrY5iOBt98gq2mtLl92hm0ARHansAaqDdYzNcD55DmjlZSH1S oOLg== 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=Z3+OYL5I+0SRtzMSmUFgYRmXihaX27EFSvWDLTlEqIc=; b=HvLU35xO+D23eKNF8jZDNxUHOGtuG06qyi5vSLMs+6Ldv6LpknPIp8f9yBxa5+/fdt XPJujw7EAQnHNBGQXcarQkAgDFSnkeqB27Ph2/RJSTmN9423UkrDgiVxaXHpKnT/LQuf LXr8GBEwzHJl3dIEdlBP54B/ja9UDWkvUx01aHpOqUU+L4dbCuEVaEXhXBaVa7+04Tij 1ZQjHJ9woO4Da0txf7sgvow0Ud2qYFcVlXPeZzHEazgOT8KyvFXbcmfK17Y11Sjf6Wd9 2PyzBKxx02cmhGicuFh2db5Eb4JF7jShZxYPwEupm9zJk0RxohJSzTo8yGTnhdGBnSGc XUfg== X-Gm-Message-State: ALKqPwdnfAaw9eLsWwF1tnpsSUQd3yOXQkz7Ol4QwG6cDDkrmpXDXuV3 9XdK1Scbd9Yz8ALBw6M0h2fneppXDBs= X-Google-Smtp-Source: AB8JxZq86g/x50l8hZ5SVQ/l7+PfqZbeUPRG6bA3E2n6dXJjDmVDyd3T4ugw2sqN8HecTj3od4eKBQ== X-Received: by 2002:a19:d7d5:: with SMTP id q82-v6mr12227584lfi.71.1526404801197; Tue, 15 May 2018 10:20:01 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id k139-v6sm123423lfg.76.2018.05.15.10.20.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 10:20:00 -0700 (PDT) From: luca.boccassi@gmail.com To: David Hunt Cc: Reshma Pattan , Pablo de Lara , dpdk stable Date: Tue, 15 May 2018 18:19:12 +0100 Message-Id: <20180515171933.12882-11-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515171933.12882-1-luca.boccassi@gmail.com> References: <20180501104509.17238-46-luca.boccassi@gmail.com> <20180515171933.12882-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'test/pipeline: fix return type of stub miss' has been queued to LTS release 16.11.7 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 17:20:01 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.7 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 1e9148d40ff410167633cc011fdfe9e84c9cf3c0 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 --- app/test/test_table_pipeline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test/test_table_pipeline.c b/app/test/test_table_pipeline.c index 36bfeda3d..38426790d 100644 --- a/app/test/test_table_pipeline.c +++ b/app/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.14.2