summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-11-14 16:18:14 -0500
committerSteven Rostedt <rostedt@goodmis.org>2014-11-19 22:01:17 -0500
commit9b77215382b42ef9c5b34293ad3a95332e5b71ef (patch)
treec27b128e42421c1d901213c50584e886a0c09af1 /net
parent820b75f63d0152dbb9ff4accf274408592d613f2 (diff)
downloadblackbird-op-linux-9b77215382b42ef9c5b34293ad3a95332e5b71ef.tar.gz
blackbird-op-linux-9b77215382b42ef9c5b34293ad3a95332e5b71ef.zip
seq_buf: Add seq_buf_can_fit() helper function
Add a seq_buf_can_fit() helper function that removes the possible mistakes of comparing the seq_buf length plus added data compared to the size of the buffer. Link: http://lkml.kernel.org/r/20141118164025.GL23958@pathway.suse.cz Reviewed-by: Petr Mladek <pmladek@suse.cz> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud