1
0
Fork 0

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.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>
hifive-unleashed-5.1
Steven Rostedt (Red Hat) 2014-10-29 13:59:58 -04:00 committed by Steven Rostedt
parent dd23180aac
commit 9a7777935c
1 changed files with 4 additions and 4 deletions

View File

@ -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