projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd23180
)
tracing: Convert seq_buf fields to be like seq_file fields
author
Steven Rostedt (Red Hat)
<
[email protected]
>
Wed, 29 Oct 2014 17:59:58 +0000
(13:59 -0400)
committer
Steven Rostedt
<
[email protected]
>
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/
[email protected]
Tested-by: Jiri Kosina <
[email protected]
>
Acked-by: Jiri Kosina <
[email protected]
>
Reviewed-by: Petr Mladek <
[email protected]
>
Signed-off-by: Steven Rostedt <
[email protected]
>
include/linux/seq_buf.h
patch
|
blob
|
history
diff --git
a/include/linux/seq_buf.h
b/include/linux/seq_buf.h
index 38770688a627296614b105ad1af2cd3419f29241..d14dc9023ddeb6e063b5334f169be6fd683a8e92 100644
(file)
--- a/
include/linux/seq_buf.h
+++ b/
include/linux/seq_buf.h
@@
-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