Commit 9a777793 authored by Steven Rostedt (Red Hat)'s avatar Steven Rostedt (Red Hat) Committed by Steven Rostedt

tracing: Convert seq_buf fields to be like seq_file fields

In facilitating the conversion of seq_file to use seq_buf,
have the seq_buf fields match the types used by seq_file.

Link: http://lkml.kernel.org/r/20141104160222.195301024@goodmis.orgTested-by: default avatarJiri Kosina <jkosina@suse.cz>
Acked-by: default avatarJiri Kosina <jkosina@suse.cz>
Reviewed-by: default avatarPetr Mladek <pmladek@suse.cz>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent dd23180a
...@@ -16,10 +16,10 @@ ...@@ -16,10 +16,10 @@
* @readpos: The next position to read in the buffer. * @readpos: The next position to read in the buffer.
*/ */
struct seq_buf { struct seq_buf {
unsigned char *buffer; char *buffer;
unsigned int size; size_t size;
unsigned int len; size_t len;
unsigned int readpos; loff_t readpos;
}; };
static inline void static inline void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment