pstore/ftrace: Adjust for ftrace_ops->func prototype change
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Thu, 15 Nov 2012 02:48:15 +0000 (18:48 -0800)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Thu, 13 Dec 2012 03:50:04 +0000 (19:50 -0800)
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>
fs/pstore/ftrace.c

index 2d57e1ac0115ae12357e108c22ef8d783637ab87..43b12807a51d71ad39c41e55e8ac83473e5ac7a6 100644 (file)
@@ -28,7 +28,9 @@
 #include "internal.h"
 
 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;
        struct pstore_ftrace_record rec = {};