Prev: [PATCH 0/3] [GIT PULL] tracing: various fixes
Next: linux-next: build warning after merge of the logfs tree
From: Steven Rostedt on 6 May 2010 19:10 From: Thiago Farina <tfransosi(a)gmail.com> kernel/trace/trace_output.c:256:24: warning: Using plain integer as NULL pointer Signed-off-by: Thiago Farina <tfransosi(a)gmail.com> LKML-Reference: <1264349038-1766-3-git-send-email-tfransosi(a)gmail.com> Signed-off-by: Steven Rostedt <rostedt(a)goodmis.org> --- kernel/trace/trace_output.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/trace/trace_output.c b/kernel/trace/trace_output.c index 8e46b33..2404c12 100644 --- a/kernel/trace/trace_output.c +++ b/kernel/trace/trace_output.c @@ -253,7 +253,7 @@ void *trace_seq_reserve(struct trace_seq *s, size_t len) void *ret; if (s->full) - return 0; + return NULL; if (len > ((PAGE_SIZE - 1) - s->len)) { s->full = 1; -- 1.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |