diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-10-29 15:26:09 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-11-19 22:01:17 -0500 |
commit | 8cd709ae7658a7fd7f6630699e3229188c2591e4 (patch) | |
tree | 1e743b588fb5dbb2acde70760985c9ce65c0609f /include/linux/libfdt_env.h | |
parent | 9b77215382b42ef9c5b34293ad3a95332e5b71ef (diff) |
tracing: Have seq_buf use full buffer
Currently seq_buf is full when all but one byte of the buffer is
filled. Change it so that the seq_buf is full when all of the
buffer is filled.
Some of the functions would fill the buffer completely and report
everything was fine. This was inconsistent with the max of size - 1.
Changing this to be max of size makes all functions consistent.
Link: http://lkml.kernel.org/r/20141104160222.502133196@goodmis.org
Link: http://lkml.kernel.org/r/20141114011412.811957882@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>
Diffstat (limited to 'include/linux/libfdt_env.h')
0 files changed, 0 insertions, 0 deletions