From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id C65251C781; Fri, 11 May 2018 17:42:30 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 May 2018 08:42:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,389,1520924400"; d="scan'208";a="48496236" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by FMSMGA003.fm.intel.com with ESMTP; 11 May 2018 08:42:28 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.150]) by IRSMSX107.ger.corp.intel.com ([169.254.10.141]) with mapi id 14.03.0319.002; Fri, 11 May 2018 16:42:27 +0100 From: "De Lara Guarch, Pablo" To: "Hunt, David" , "dev@dpdk.org" CC: "Dumitrescu, Cristian" , "Hunt, David" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] test: fix incorrect cast in pipeline unit test Thread-Index: AQHT6Gy3g5A0JdSUkEuzTUBGo9M8PKQqrDNA Date: Fri, 11 May 2018 15:42:27 +0000 Message-ID: References: <20180510073815.76926-1-david.hunt@intel.com> In-Reply-To: <20180510073815.76926-1-david.hunt@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTA4NzdlZTYtODM4Yy00MDlkLWIwYWQtNWI0OGE0OGVkMTI2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IkRTbXYyRE1DT0l3WWoySk5ibVpYN0RQdXdKWFRZZk5PQ3oxZXdKdlRRaHc9In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] test: fix incorrect cast in pipeline unit test 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: Fri, 11 May 2018 15:42:31 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of David Hunt > Sent: Thursday, May 10, 2018 8:38 AM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Hunt, David > > Subject: [dpdk-dev] [PATCH] test: fix incorrect cast in pipeline unit tes= t >=20 > New warning with gcc 8.1: > The table_action_stub_miss() function was incorrectly declared as returni= ng a > typedef of rte_pipeline_table_action_handler_miss, instead of what it sho= uld > have been, an int. > Changed this to declare the function as returning an int, and now when th= e > action_handler_miss is set to table_action_stub_miss (cast as > rte_pipeline_table_action_handler_miss), gcc 8.1 no longer complains abou= t the > cast. >=20 > Fixes: 5205954791cb ("app/test: packet framework unit tests") >=20 > Signed-off-by: David Hunt Missing "Cc: stable@dpdk.org". Acked-by: Pablo de Lara