From: Steven Rostedt (Red Hat) Date: Thu, 6 Nov 2014 21:38:28 +0000 (-0500) Subject: seq_buf: Create seq_buf_used() to find out how much was written X-Git-Tag: omap-for-v3.20/drop-legacy-3517~136^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeab98154dc0b49afd398afdd71c464a8af5911f;p=pandora-kernel.git seq_buf: Create seq_buf_used() to find out how much was written Add a helper function seq_buf_used() that replaces the SEQ_BUF_USED() private macro to let callers have a method to know how much of the seq_buf was written to. Link: http://lkml.kernel.org/r/20141114011412.170377300@goodmis.org Link: http://lkml.kernel.org/r/20141114011413.321654244@goodmis.org Reviewed-by: Petr Mladek Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed