[PATCH] Add hsize argument in write_buf call of pstore_ftrace_call

Subsystems: filesystems (vfs and infrastructure), pstore filesystem, the rest

STALE4783d

2 messages, 2 authors, 2013-07-02 · open the first message on its own page

[PATCH] Add hsize argument in write_buf call of pstore_ftrace_call

From: Aruna Balakrishnaiah <hidden>
Date: 2013-07-02 05:37:04

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

Signed-off-by: Aruna Balakrishnaiah <redacted>
---

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

Re: [PATCH] Add hsize argument in write_buf call of pstore_ftrace_call

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2013-07-02 08:56:51

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.
quoted hunk
Signed-off-by: Aruna Balakrishnaiah <redacted>
---

 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);
 }
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help