From: Joe Perches Date: Mon, 29 Sep 2014 23:08:21 +0000 (-0700) Subject: seq_file: Rename seq_overflow() to seq_has_overflowed() and make public X-Git-Tag: omap-for-v3.19/fixes-rc1~143^2~1^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f33c41c03daece85a84b8dcea5733f3efe3e2b0;p=pandora-kernel.git 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 Signed-off-by: Joe Perches [ Reworked the original patch from Joe ] Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed