提交 9a777793 编写于 作者: S Steven Rostedt (Red Hat) 提交者: 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: NJiri Kosina <jkosina@suse.cz>
Acked-by: NJiri Kosina <jkosina@suse.cz>
Reviewed-by: NPetr Mladek <pmladek@suse.cz>
Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册