Skip to content

Commit

Permalink
pstore/ftrace: Adjust for ftrace_ops->func prototype change
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Vorontsov committed Dec 13, 2012
1 parent c628937 commit ebacfd1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fs/pstore/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {};
Expand Down

0 comments on commit ebacfd1

Please sign in to comment.