From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 591DD1C786; Fri, 11 May 2018 17:47:08 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 May 2018 08:47:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,389,1520924400"; d="scan'208";a="53484665" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by fmsmga004.fm.intel.com with ESMTP; 11 May 2018 08:47:06 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.150]) by IRSMSX151.ger.corp.intel.com ([169.254.4.167]) with mapi id 14.03.0319.002; Fri, 11 May 2018 16:47:05 +0100 From: "De Lara Guarch, Pablo" To: "Hunt, David" , "dev@dpdk.org" CC: "Mcnamara, John" , "Hunt, David" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] examples: fix typdef in performance thread app Thread-Index: AQHT6FsIWGe8lc3DdUiLr7VUlDROs6QqrbGw Date: Fri, 11 May 2018 15:47:05 +0000 Message-ID: References: <20180510053112.25491-1-david.hunt@intel.com> In-Reply-To: <20180510053112.25491-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWQ1MjU1NTctODFjOS00M2ZmLWE3MDgtNDUxMWJhNmViNzc3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6ImJRaVNVcVFVYTdyK1p4c1BxNlhVbjhxNkxvKzg4c2tIcFQ3anRLRkVUM3M9In0= 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-stable] [dpdk-dev] [PATCH] examples: fix typdef in performance thread app 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: Fri, 11 May 2018 15:47:09 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of David Hunt > Sent: Thursday, May 10, 2018 6:31 AM > To: dev@dpdk.org > Cc: Mcnamara, John ; Hunt, David > > Subject: [dpdk-dev] [PATCH] examples: fix typdef in performance thread ap= p >=20 > The function pthread_create() expects void *(*func) (void *) for function > pointer, however, lthread_func_t was defined as void (*func) (void *), so= now > gcc 8.1 warns that the cast is incorrect, causing a compilation failure. = This patch > changes the declaration of lthread_func_t from returning a void to return= ing a > void*, and then changes the sample app in the relevant places that are af= fected > by the typedef change. >=20 > Fixes: 116819b9ed0d ("examples/performance-thread: add lthread subsystem"= ) >=20 > Signed-off-by: David Hunt Missing "Cc: stable@dpdk.org" Acked-by: Pablo de Lara