Skip to content

seq_file/netfilter: Start removing returns from seq_<foo>

Joe Perches cluster-devel linux-fsdevel lkml netdev netfilter netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2seq_file: Rename static bool seq_overflow to public bool seq_is_buf_fullDocumentation/filesystems/seq_file.txt fs/seq_file.c include/linux/seq_file.h+38 -260 replies
2/2netfilter: Convert print_tuple functions to return voidinclude/net/netfilter/nf_conntrack_core.h include/net/netfilter/nf_conntrack_l3proto.h include/net/netfilter/nf_conntrack_l4proto.h +9 more+46 -490 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH -next 0/2] seq_file/netfilter: Start removing returns from seq_<foo>

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(-)
Signature · 1 line
1.8.1.2.459.gbcd45b4.dirty