[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141118140634.GD23958@pathway.suse.cz>
Date: Tue, 18 Nov 2014 15:06:34 +0100
From: Petr Mladek <pmladek@...e.cz>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Jiri Kosina <jkosina@...e.cz>
Subject: Re: [PATCH 08/26 v5] tracing: Do not check return values of
trace_seq_p*() for mmio tracer
On Fri 2014-11-14 23:58:55, Steven Rostedt wrote:
> From: "Steven Rostedt (Red Hat)" <rostedt@...dmis.org>
>
> The return values for trace_seq_printf() and friends are going to be
> removed and they will become void functions. The mmio tracer checked
> their return and even did so incorrectly.
>
> Some of the funtions which returned the values were never checked
> themselves. Removing all the checks simplifies the code.
>
> Use trace_seq_has_overflowed() and trace_handle_return() where
> necessary instead.
>
> Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
Reviewed-by: Petr Mladek <pmladek@...e.cz>
Best Regards,
Petr
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists