diff --git a/fs/pstore/ftrace.c b/fs/pstore/ftrace.c index 43b12807a51d71ad39c41e55e8ac83473e5ac7a6..76a4eeb92982dec97b8a6f618b5d65fb5c1b7027 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); }