Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966328AbbD2QG1 (ORCPT ); Wed, 29 Apr 2015 12:06:27 -0400 Received: from smtprelay0185.hostedemail.com ([216.40.44.185]:45883 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753760AbbD2QGZ convert rfc822-to-8bit (ORCPT ); Wed, 29 Apr 2015 12:06:25 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::,RULES_HIT:41:152:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1431:1437:1513:1515:1516:1518:1521:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2693:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3873:4362:5007:6261:7875:7974:8603:10004:10400:10848:10967:11232:11658:11914:12114:12517:12519:12663:12740:13069:13311:13357:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: food87_54ede5ebe5b05 X-Filterd-Recvd-Size: 2133 Date: Wed, 29 Apr 2015 12:06:22 -0400 From: Steven Rostedt To: Alex =?UTF-8?B?QmVubsOpZQ==?= Cc: mingo@redhat.com, Dave.Martin@arm.com, linux-kernel@vger.kernel.org, Oleg Nesterov , Javi Merino , "Peter Zijlstra \(Intel\)" Subject: Re: [PATCH v2] tracing: make ftrace_print_array_seq compute buf_len Message-ID: <20150429120622.48c62110@gandalf.local.home> In-Reply-To: <87mw1q2a8l.fsf@linaro.org> References: <1430320727-14582-1-git-send-email-alex.bennee@linaro.org> <20150429113630.7595e9ce@gandalf.local.home> <87mw1q2a8l.fsf@linaro.org> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1260 Lines: 37 On Wed, 29 Apr 2015 17:02:50 +0100 Alex Bennée wrote: > > Steven Rostedt writes: > > > On Wed, 29 Apr 2015 16:18:46 +0100 > > Alex Bennée wrote: > > > >> The only caller to this function (__print_array) was getting it wrong by > >> passing the array length instead of buffer length. As the element size > >> was already being passed for other reasons it seems reasonable to push > >> the calculation of buffer length into the function. > >> > >> Signed-off-by: Alex Bennée > > > > Thanks, I'll add a stable tag to this too, and get it out soon. > > I take it you'll pick up Dave's reviewed-by? Yep, I will. > > As for CC'ing stable I wouldn't worry too much as nothing in the kernel > uses __print_array yet (unless you count the example). But it is a > fairly trivial patch so if you as the maintainer is happy I'm happy ;-) OK, if it's not used, then I'll just add it to this release. Thanks, -- Steve -- 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/