From: Joe Perches <joe@perches.com>
To: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Kees Cook <keescook@chromium.org>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-fsdevel@vger.kernel.org, netfilter-devel@vger.kernel.org,
netfilter@vger.kernel.org, coreteam@netfilter.org,
netdev@vger.kernel.org
Subject: [PATCH -next 0/2] seq_file/netfilter: Start removing returns from seq_<foo>
Date: Wed, 11 Dec 2013 19:44:10 -0800 [thread overview]
Message-ID: <cover.1386819513.git.joe@perches.com> (raw)
The return value from seq_printf/puts/putc/etc are frequently misused.
Start removing the uses of the return values.
Joe Perches (2):
seq_file: Rename static bool seq_overflow to public bool seq_is_buf_full
netfilter: Convert print_tuple functions to return void
Documentation/filesystems/seq_file.txt | 28 ++++++++++++++++------------
fs/seq_file.c | 28 ++++++++++++++--------------
include/linux/seq_file.h | 8 ++++++++
include/net/netfilter/nf_conntrack_core.h | 2 +-
include/net/netfilter/nf_conntrack_l3proto.h | 4 ++--
include/net/netfilter/nf_conntrack_l4proto.h | 4 ++--
net/netfilter/nf_conntrack_l3proto_generic.c | 5 ++---
net/netfilter/nf_conntrack_proto_dccp.c | 10 +++++-----
net/netfilter/nf_conntrack_proto_generic.c | 5 ++---
net/netfilter/nf_conntrack_proto_gre.c | 10 +++++-----
net/netfilter/nf_conntrack_proto_sctp.c | 10 +++++-----
net/netfilter/nf_conntrack_proto_tcp.c | 10 +++++-----
net/netfilter/nf_conntrack_proto_udp.c | 10 +++++-----
net/netfilter/nf_conntrack_proto_udplite.c | 10 +++++-----
net/netfilter/nf_conntrack_standalone.c | 15 +++++++--------
15 files changed, 84 insertions(+), 75 deletions(-)
--
1.8.1.2.459.gbcd45b4.dirty
next reply other threads:[~2013-12-12 3:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-12 3:44 Joe Perches [this message]
2013-12-12 3:44 ` [PATCH -next 1/2] seq_file: Rename static bool seq_overflow to public bool seq_is_buf_full Joe Perches
2013-12-12 3:44 ` [PATCH -next 2/2] netfilter: Convert print_tuple functions to return void Joe Perches
2013-12-12 23:47 ` [Cluster-devel] [PATCH -next 0/4] fs: Use seq_is_buf_full Joe Perches
2013-12-12 23:47 ` Joe Perches
2013-12-12 23:47 ` [PATCH -next 3/4] fs: Convert show_fdinfo functions to void Joe Perches
2013-12-12 23:47 ` [PATCH -next 4/4] debugfs: Fix misuse of seq_printf return value Joe Perches
2014-01-08 17:47 ` [Cluster-devel] [PATCH -next 0/4] fs: Use seq_is_buf_full Joe Perches
2014-01-08 17:47 ` Joe Perches
2013-12-12 23:47 ` [Cluster-devel] [PATCH -next 1/4] dlm: Use seq_is_buf_full - remove seq_printf returns Joe Perches
2013-12-12 23:47 ` Joe Perches
2013-12-12 23:47 ` [Cluster-devel] [PATCH -next 2/4] dlm: Use seq_puts, remove unnecessary trailing spaces Joe Perches
2013-12-12 23:47 ` Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1386819513.git.joe@perches.com \
--to=joe@perches.com \
--cc=coreteam@netfilter.org \
--cc=keescook@chromium.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=netfilter@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.