Skip to content

Commit

Permalink
tracing: Convert seq_buf fields to be like seq_file fields
Browse files Browse the repository at this point in the history
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.org

Tested-by: Jiri Kosina <jkosina@suse.cz>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
  • Loading branch information
Steven Rostedt (Red Hat) committed Nov 20, 2014
1 parent dd23180 commit 9a77779
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/linux/seq_buf.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
* @readpos: The next position to read in the buffer.
*/
struct seq_buf {
unsigned char *buffer;
unsigned int size;
unsigned int len;
unsigned int readpos;
char *buffer;
size_t size;
size_t len;
loff_t readpos;
};

static inline void
Expand Down

0 comments on commit 9a77779

Please sign in to comment.