From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id DB32D1D177; Sun, 13 May 2018 23:25:17 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6BFC225B8A; Sun, 13 May 2018 17:25:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 13 May 2018 17:25:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=aip09uSMljCvP37W3QYm78W18Q Z8wPmmO0yPack2bCg=; b=WGgBAR1jBC0phuX3MTnj4vUAHKVBMSSXQOnrk9K5Gm v27G02nPdxkvo99G5Ftem+DBoOFGaMaFtmDV8/8Ocd7f3sJ8m83CrPSoZwe9RW5z LRZLwPsfJVblj5FC8hWgYD+BdeL5WuRgzwak5VL2CC751b8/EHp1FBkVA/wp0C69 0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=aip09u SMljCvP37W3QYm78W18QZ8wPmmO0yPack2bCg=; b=Ob6y+NgDEvzZ/jQrjHV6Px dje7uxDWV4vyQtm0LZd8eAZdIKvo8w+DOJt8bjBPBRmtPLM1xe1CPfijmXDkRXYY jhDOUPAirvM3zdtm6i1WX1UbW2zhtiQYeNxAGD1mFmtIE/kEq6c+eDNFEfNs8RdV eHGXDvgsRjaf+4XiMwoDnidsPuJ1KWcN/Q8qZqnWYex+l/XJhlt/VmBfNHuwVlvc lXNzOaU6BB1fyv9fJeYbUidbNu4fAIm4vdloZZ5STU9UNv6dbUslgbKn7huNyCn3 BP4uapLBLSo4pt5eOyEMlfsBGGjCMlpKfPRmlVL3AH6Vldtgn4o8YEepqiYEEneQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 8E623E4443; Sun, 13 May 2018 17:25:16 -0400 (EDT) From: Thomas Monjalon To: "Hunt, David" Cc: dev@dpdk.org, "De Lara Guarch, Pablo" , "Dumitrescu, Cristian" , "stable@dpdk.org" Date: Sun, 13 May 2018 23:25:15 +0200 Message-ID: <1894270.LNU5T2NqhO@xps> In-Reply-To: References: <20180510073815.76926-1-david.hunt@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] test: fix incorrect cast in pipeline unit test 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, 13 May 2018 21:25:18 -0000 > > 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 > > Missing "Cc: stable@dpdk.org". > > Acked-by: Pablo de Lara Applied, thanks