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 89043E6D for ; Mon, 18 Jul 2016 14:39:13 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 18 Jul 2016 05:39:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,383,1464678000"; d="scan'208";a="1018976561" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by orsmga002.jf.intel.com with ESMTP; 18 Jul 2016 05:39:11 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.204]) by IRSMSX151.ger.corp.intel.com ([169.254.4.151]) with mapi id 14.03.0248.002; Mon, 18 Jul 2016 13:39:10 +0100 From: "Mcnamara, John" To: "De Lara Guarch, Pablo" , "dev@dpdk.org" CC: "De Lara Guarch, Pablo" Thread-Topic: [dpdk-dev] [PATCH] examples/performance-thread: add missing braces Thread-Index: AQHR4OZi8LhLE9LSJkODm2lZc7PYKaAeINAQ Date: Mon, 18 Jul 2016 12:39:09 +0000 Message-ID: References: <1468840825-158116-1-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1468840825-158116-1-git-send-email-pablo.de.lara.guarch@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODIzZDc0OTktNmRhZi00YjY3LWEwZGItYThhZDQ5MjMxNjI4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Im11cW1PRUFET1lNaDRxZzRIMEJhNGNKNkhDVTdGb1JaMzZhU2dnbGNcL3I0PSJ9 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-dev] [PATCH] examples/performance-thread: add missing braces X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2016 12:39:13 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Pablo de Lara > Sent: Monday, July 18, 2016 12:20 PM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [dpdk-dev] [PATCH] examples/performance-thread: add missing > braces >=20 > pthread_detach() function was returning 0 even when not calling > lthread_detach(), due to missing braces in conditional (extra indentation > was applied, giving a hint this is the correct fix). >=20 > Fixes: 433ba6228f9a ("examples/performance-thread: add pthread_shim app") >=20 > Signed-off-by: Pablo de Lara Tested-by: John McNamara Acked-by: John McNamara