seq_printf cleanups
Status from this message: Applied to l2-mtd.git. Thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | seq_file: Rename static bool seq_overflow to public bool seq_is_fullDocumentation/ fs/ include/ | +38 | 3 replies | |
| 2/7 | netfilter: Convert print_tuple functions to return voidinclude/ include/ include/ +9 more | +46 | 2 replies | |
| 3/7 | dlm: Use seq_is_full - remove seq_printf returnsfs/ | +116 | 4 replies | |
| 4/7 | dlm: Use seq_puts, remove unnecessary trailing spacesfs/ | +5 | 0 replies | |
| 5/7 | fs: Convert show_fdinfo functions to voidDocumentation/ drivers/ fs/ +7 more | +68 | 3 replies | |
| 6/7 | debugfs: Fix misuse of seq_printf return valuefs/ | +8 | 5 replies | |
| 7/7 | docg3: Fix miuse of seq_printf return valuedrivers/ | +52 | 10 replies |
Reviews trailers per patch
2 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Brian Norris | Greg Kroah-Hartman |
|---|---|---|
| 1/7 | ||
| 2/7 | ||
| 3/7 | ||
| 4/7 | ||
| 5/7 | ||
| 6/7 | A-b | |
| 7/7 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] seq_printf cleanups
seq_printf should return void.
Add a public bool seq_is_full function that can be used to shortcut unnecesary seq_printf/seq_puts calls when the seq buffer is full.
Start removing the misuses of the seq_printf/seq_puts return value.
Patchset brought forward from an unreplied to set of changes from back in December 2013.
https://lkml.org/lkml/2013/12/11/713
Renamed seq_is_buf_full to seq_is_full.
Joe Perches (7):
seq_file: Rename static bool seq_overflow to public bool seq_is_full
netfilter: Convert print_tuple functions to return void
dlm: Use seq_is_full - remove seq_printf returns
dlm: Use seq_puts, remove unnecessary trailing spaces
fs: Convert show_fdinfo functions to void
debugfs: Fix misuse of seq_printf return value
docg3: Fix mixuse of seq_printf return value
Documentation/filesystems/seq_file.txt | 28 +-- Documentation/filesystems/vfs.txt | 2 +- drivers/mtd/devices/docg3.c | 112 ++++++------ drivers/net/tun.c | 4 +- fs/debugfs/file.c | 14 +- fs/dlm/debug_fs.c | 260 +++++++++++++-------------- fs/eventfd.c | 15 +- fs/eventpoll.c | 19 +- fs/notify/fdinfo.c | 76 ++++---- fs/notify/fdinfo.h | 4 +- fs/proc/fd.c | 2 +- fs/seq_file.c | 28 +-- fs/signalfd.c | 10 +- fs/timerfd.c | 27 +-- include/linux/fs.h | 2 +- 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 +- 28 files changed, 333 insertions(+), 373 deletions(-)
Signature · 1 line
1.8.1.2.459.gbcd45b4.dirty