aboutsummaryrefslogtreecommitdiffstats
path: root/fs/pstore
diff options
context:
space:
mode:
authorAnton Vorontsov <anton.vorontsov@linaro.org>2012-11-14 21:48:15 -0500
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-12-12 22:50:04 -0500
commitebacfd1ece3bfa46296fc92c6f996cb5f7fc75e6 (patch)
tree5c6c59914c795e5383fc5d873e1973b851a09380 /fs/pstore
parentc628937803c652132d21f383736375e2feee4bfb (diff)
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: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'fs/pstore')
-rw-r--r--fs/pstore/ftrace.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/pstore/ftrace.c b/fs/pstore/ftrace.c
index 2d57e1ac0115..43b12807a51d 100644
--- a/fs/pstore/ftrace.c
+++ b/fs/pstore/ftrace.c
@@ -28,7 +28,9 @@
28#include "internal.h" 28#include "internal.h"
29 29
30static void notrace pstore_ftrace_call(unsigned long ip, 30static void notrace pstore_ftrace_call(unsigned long ip,
31 unsigned long parent_ip) 31 unsigned long parent_ip,
32 struct ftrace_ops *op,
33 struct pt_regs *regs)
32{ 34{
33 unsigned long flags; 35 unsigned long flags;
34 struct pstore_ftrace_record rec = {}; 36 struct pstore_ftrace_record rec = {};