Re: [RFC][PATCH 06/12 v3] tracing: Add a seq_buf_clear() helper and clear len and readpos in init

Petr Mladek
2014-11-05T16:01:05Z

On Tue 2014-11-04 10:52:43, Steven Rostedt wrote:
> From: "Steven Rostedt (Red Hat)" <rostedt@goodmis.org>
>
> Add a helper function seq_buf_clear() that resets the len and readpos
> fields of a seq_buf. Currently it is only used in the seq_buf_init()
> but will be used later when updating the seq_file code.
>
> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

Reviewed-by: Petr Mladek <pmladek@suse.cz>

Best Regards,
Petr