From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 6254F2C008A for ; Tue, 2 Jul 2013 18:56:46 +1000 (EST) Message-ID: <1372755248.3616.5.camel@pasglop> Subject: Re: [PATCH] Add hsize argument in write_buf call of pstore_ftrace_call From: Benjamin Herrenschmidt To: Aruna Balakrishnaiah Date: Tue, 02 Jul 2013 18:54:08 +1000 In-Reply-To: <20130702053611.11466.71343.stgit@aruna-ThinkPad-T420> References: <20130702053611.11466.71343.stgit@aruna-ThinkPad-T420> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, fengguang.wu@intel.com, linux-kernel@vger.kernel.org, rostedt@goodmis.org, kbuild-all@01.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2013-07-02 at 11:06 +0530, Aruna Balakrishnaiah wrote: > Incorporate the addition of hsize argument in write_buf callback > of pstore. Thanks. I've added that to powerpc-next. It should hit Stephen tomorrow. Cheers, Ben. > Signed-off-by: Aruna Balakrishnaiah > --- > > fs/pstore/ftrace.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/pstore/ftrace.c b/fs/pstore/ftrace.c > index 43b1280..76a4eeb 100644 > --- a/fs/pstore/ftrace.c > +++ b/fs/pstore/ftrace.c > @@ -44,7 +44,7 @@ static void notrace pstore_ftrace_call(unsigned long ip, > rec.parent_ip = parent_ip; > pstore_ftrace_encode_cpu(&rec, raw_smp_processor_id()); > psinfo->write_buf(PSTORE_TYPE_FTRACE, 0, NULL, 0, (void *)&rec, > - sizeof(rec), psinfo); > + 0, sizeof(rec), psinfo); > > local_irq_restore(flags); > }