linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add hsize argument in write_buf call of pstore_ftrace_call
@ 2013-07-02  5:36 Aruna Balakrishnaiah
  2013-07-02  8:54 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Aruna Balakrishnaiah @ 2013-07-02  5:36 UTC (permalink / raw)
  To: linuxppc-dev, linux-kernel, benh; +Cc: fengguang.wu, kbuild-all, rostedt

Incorporate the addition of hsize argument in write_buf callback
of pstore.

Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
---

 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);
 }

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add hsize argument in write_buf call of pstore_ftrace_call
  2013-07-02  5:36 [PATCH] Add hsize argument in write_buf call of pstore_ftrace_call Aruna Balakrishnaiah
@ 2013-07-02  8:54 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2013-07-02  8:54 UTC (permalink / raw)
  To: Aruna Balakrishnaiah
  Cc: linuxppc-dev, fengguang.wu, linux-kernel, rostedt, kbuild-all

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 <aruna@linux.vnet.ibm.com>
> ---
> 
>  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);
>  }

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-02  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-02  5:36 [PATCH] Add hsize argument in write_buf call of pstore_ftrace_call Aruna Balakrishnaiah
2013-07-02  8:54 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).