diff options
author | Jonathan Corbet <[email protected]> | 2023-10-20 14:38:49 -0600 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2023-10-20 16:51:06 -0400 |
commit | 845e31e1101fc8533be52aff42d8f1ff48636024 (patch) | |
tree | 64d668e15120bb15e9351bd88002ded252220870 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | d0ed46b60396cfa7e0056f55e1ce0b43c7db57b6 (diff) |
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/[email protected]
Fixes: 8cd709ae7658a ("tracing: Have seq_buf use full buffer")
Signed-off-by: Jonathan Corbet <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions