From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754895AbdCTMpS (ORCPT ); Mon, 20 Mar 2017 08:45:18 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:47520 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753409AbdCTJdP (ORCPT ); Mon, 20 Mar 2017 05:33:15 -0400 Subject: Re: [PATCH 1/2] perf probe: Fix concat_probe_trace_events To: acme@kernel.org References: <20170308065908.4128-1-ravi.bangoria@linux.vnet.ibm.com> <20170308093707.77fb1e3db24ce167a8aff914@kernel.org> Cc: Masami Hiramatsu , peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, linux-kernel@vger.kernel.org, Ravi Bangoria From: Ravi Bangoria Date: Mon, 20 Mar 2017 15:03:05 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20170308093707.77fb1e3db24ce167a8aff914@kernel.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 17032009-0052-0000-0000-000001AF717B X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006815; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000206; SDB=6.00836282; UDB=6.00410998; IPR=6.00614050; BA=6.00005220; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00014721; XFM=3.00000013; UTC=2017-03-20 09:33:11 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17032009-0053-0000-0000-00004F46A9A0 Message-Id: <58CFA1D1.2010901@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-03-20_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001 definitions=main-1703200086 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 08 March 2017 02:07 PM, Masami Hiramatsu wrote: > On Wed, 8 Mar 2017 12:29:07 +0530 > Ravi Bangoria wrote: > >> '*ntevs' contains number of elements present in 'tevs' array. If >> there are no elements in array, 'tevs2' can be directly assigned >> to 'tevs' without allocating more space. So the condition should >> be '*ntevs == 0' not 'ntevs == 0'. > Oops, good catch! > > Acked-by: Masami Hiramatsu Hi Arnaldo, Can you please pull this patch. Thanks, Ravi