Joe Perches 1f33c41c03 seq_file: Rename seq_overflow() to seq_has_overflowed() and make public
The return values of seq_printf/puts/putc are frequently misused.

Start down a path to remove all the return value uses of these
functions.

Move the seq_overflow() to a global inlined function called
seq_has_overflowed() that can be used by the users of seq_file() calls.

Update the documentation to not show return types for seq_printf
et al.  Add a description of seq_has_overflowed().

Link: http://lkml.kernel.org/p/848ac7e3d1c31cddf638a8526fa3c59fa6fdeb8a.1412031505.git.joe@perches.com

Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Joe Perches <joe@perches.com>
[ Reworked the original patch from Joe ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2014-10-29 20:26:06 -04:00
..
2014-08-02 01:26:07 -05:00
2012-01-03 22:54:57 -05:00
2014-01-24 10:55:21 -06:00
2014-02-10 16:01:40 -08:00
2009-08-19 10:40:13 -07:00
2014-01-28 13:20:20 -08:00
2012-05-10 11:45:31 +01:00
2011-11-04 12:01:48 -07:00
2011-09-27 18:08:04 +02:00
2010-05-10 11:56:30 +02:00
2008-07-26 12:00:05 -07:00
2011-03-31 11:26:23 -03:00
2013-07-25 12:34:15 +02:00
2014-05-05 15:32:05 +02:00
2006-11-30 04:58:40 +01:00
2006-12-07 08:39:44 -08:00
2007-02-12 09:48:40 -08:00
2008-11-12 17:17:17 -08:00