Skip to content
Snippets Groups Projects
Commit ebacfd1e authored by Anton Vorontsov's avatar Anton Vorontsov
Browse files

pstore/ftrace: Adjust for ftrace_ops->func prototype change


This commit fixes the following warning:

 fs/pstore/ftrace.c:51:2: warning: initialization from incompatible
 pointer type [enabled by default]
 fs/pstore/ftrace.c:51:2: warning: (near initialization for
 ‘pstore_ftrace_ops.func’) [enabled by defaula

Signed-off-by: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
parent c6289378
No related merge requests found
...@@ -28,7 +28,9 @@ ...@@ -28,7 +28,9 @@
#include "internal.h" #include "internal.h"
static void notrace pstore_ftrace_call(unsigned long ip, static void notrace pstore_ftrace_call(unsigned long ip,
unsigned long parent_ip) unsigned long parent_ip,
struct ftrace_ops *op,
struct pt_regs *regs)
{ {
unsigned long flags; unsigned long flags;
struct pstore_ftrace_record rec = {}; struct pstore_ftrace_record rec = {};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment