summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2023-10-20 22:38:49 +0200
committerSteven Rostedt (Google) <rostedt@goodmis.org>2023-10-20 22:51:06 +0200
commit845e31e1101fc8533be52aff42d8f1ff48636024 (patch)
tree64d668e15120bb15e9351bd88002ded252220870 /kernel
parenttracing: Move readpos from seq_buf to trace_seq (diff)
downloadlinux-845e31e1101fc8533be52aff42d8f1ff48636024.tar.xz
linux-845e31e1101fc8533be52aff42d8f1ff48636024.zip
seq_buf: fix a misleading comment
The comment for seq_buf_has_overflowed() says that an overflow condition is marked by len == size, but that's not what the code is testing. Make the comment match reality. Link: https://lkml.kernel.org/r/87pm19kp0m.fsf@meer.lwn.net Fixes: 8cd709ae7658a ("tracing: Have seq_buf use full buffer") Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions