From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 9644F1BB85; Thu, 10 May 2018 17:59:46 +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 orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 May 2018 08:59:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,385,1520924400"; d="scan'208";a="48218409" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by FMSMGA003.fm.intel.com with ESMTP; 10 May 2018 08:59:44 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.150]) by IRSMSX106.ger.corp.intel.com ([169.254.8.125]) with mapi id 14.03.0319.002; Thu, 10 May 2018 16:59:43 +0100 From: "De Lara Guarch, Pablo" To: "Hunt, David" , "dev@dpdk.org" CC: "Richardson, Bruce" , "Hunt, David" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] test: fix incorrect cast in distributor unit test Thread-Index: AQHT6Di3wsLpUOpRy0+nkMILo6Uy0KQpHyzw Date: Thu, 10 May 2018 15:59:42 +0000 Message-ID: References: <20180510012538.176757-1-david.hunt@intel.com> In-Reply-To: <20180510012538.176757-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmNlYjhiMTItOTNlMS00Nzk1LTlmNjUtNTA4NzFjMTA1MTljIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Ink2cndWVzBPb095UFl1N2phY09JZm9lOWtpeUJ1dzJtcGJpT1JIZzN3aVE9In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] test: fix incorrect cast in distributor 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: Thu, 10 May 2018 15:59:47 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of David Hunt > Sent: Thursday, May 10, 2018 2:26 AM > To: dev@dpdk.org > Cc: Richardson, Bruce ; Hunt, David > > Subject: [dpdk-dev] [PATCH] test: fix incorrect cast in distributor unit = test >=20 > New warning with gcc 8.1: > When casting the function pointer passed to > rte_eal_remote_launch() as an lcore_function_t *, it expects the cast fun= ction > to return an int, but instead it was returning void. Fixed to return an i= nt. >=20 > Fixes: c3eabff124e6 ("distributor: add unit tests") >=20 > Signed-off-by: David Hunt Cc: stable@dpdk.org Acked-by: Pablo de Lara