Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932471Ab3CLJut (ORCPT ); Tue, 12 Mar 2013 05:50:49 -0400 Received: from e8.ny.us.ibm.com ([32.97.182.138]:35975 "EHLO e8.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932274Ab3CLJus (ORCPT ); Tue, 12 Mar 2013 05:50:48 -0400 Date: Tue, 12 Mar 2013 15:16:42 +0530 From: Srikar Dronamraju To: Ananth N Mavinakayanahalli Cc: acme@redhat.com, lkml Subject: Re: [PATCH] Fix segfault in perf probe Message-ID: <20130312094642.GA24260@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20130312090217.GC4668@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20130312090217.GC4668@in.ibm.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13031209-9360-0000-0000-0000114873B9 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1162 Lines: 37 * Ananth N Mavinakayanahalli [2013-03-12 14:32:17]: > From: Ananth N Mavinakayanahalli > > Fix segfault in perf probe due to a bug introduced by commit d8639f068 > (perf tools: Stop using 'self' in strlist). > > > Signed-off-by: Ananth N Mavinakayanahalli Acked-by: Srikar Dronamraju > > --- > Index: linus/tools/perf/util/strlist.c > =================================================================== > --- linus.orig/tools/perf/util/strlist.c > +++ linus/tools/perf/util/strlist.c > @@ -143,7 +143,7 @@ struct strlist *strlist__new(bool dupstr > slist->rblist.node_delete = strlist__node_delete; > > slist->dupstr = dupstr; > - if (slist && strlist__parse_list(slist, list) != 0) > + if (list && strlist__parse_list(slist, list) != 0) > goto out_error; > } > -- Thanks and Regards Srikar Dronamraju -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/