From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754818AbdCTNkD (ORCPT ); Mon, 20 Mar 2017 09:40:03 -0400 Received: from mail.kernel.org ([198.145.29.136]:38072 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753577AbdCTNkA (ORCPT ); Mon, 20 Mar 2017 09:40:00 -0400 Date: Mon, 20 Mar 2017 10:39:54 -0300 From: Arnaldo Carvalho de Melo To: Ravi Bangoria Cc: Masami Hiramatsu , peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] perf probe: Fix concat_probe_trace_events Message-ID: <20170320133954.GB27647@kernel.org> References: <20170308065908.4128-1-ravi.bangoria@linux.vnet.ibm.com> <20170308093707.77fb1e3db24ce167a8aff914@kernel.org> <58CFA1D1.2010901@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <58CFA1D1.2010901@linux.vnet.ibm.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Mar 20, 2017 at 03:03:05PM +0530, Ravi Bangoria escreveu: > > > 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. Sure, done. - Arnaldo