tracing: Convert seq_buf fields to be like seq_file fields
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 29 Oct 2014 17:59:58 +0000 (13:59 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 20 Nov 2014 03:01:12 +0000 (22:01 -0500)
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>
include/linux/seq_buf.h

index 38770688a627296614b105ad1af2cd3419f29241..d14dc9023ddeb6e063b5334f169be6fd683a8e92 100644 (file)
  * @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