Skip to content

Commit

Permalink
markers: fix sparse integer as NULL pointer warning
Browse files Browse the repository at this point in the history
kernel/trace/trace_sysprof.c:164:20: warning: Using plain integer as NULL pointer

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Harvey Harrison authored and Linus Torvalds committed Jul 25, 2008
1 parent 28325df commit a89cc19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/trace/trace_sysprof.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ static void timer_notify(struct pt_regs *regs, int cpu)
__trace_special(tr, data, 2, regs->ip, 0);

while (i < sample_max_depth) {
frame.next_fp = 0;
frame.next_fp = NULL;
frame.return_address = 0;
if (!copy_stack_frame(fp, &frame))
break;
Expand Down

0 comments on commit a89cc19

Please sign in to comment.