Skip to content

staging: lustre: Remove use of return val of seq_printf

Joe Perches lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3staging: lustre: Convert return seq_printf(...) uses to seq_has_overfloweddrivers/staging/lustre/lustre/libcfs/hash.c drivers/staging/lustre/lustre/llite/lproc_llite.c drivers/staging/lustre/lustre/lmv/lproc_lmv.c +6 more+164 -1160 replies
2/3staging: lustre: Convert uses of "int rc = seq_printf(...)"drivers/staging/lustre/lustre/fid/lproc_fid.c drivers/staging/lustre/lustre/llite/lproc_llite.c drivers/staging/lustre/lustre/mdc/lproc_mdc.c +3 more+79 -870 replies
3/3staging: lustre: Convert remaining uses of "= seq_printf(...)"drivers/staging/lustre/lustre/llite/lproc_llite.c drivers/staging/lustre/lustre/obdclass/lprocfs_status.c+70 -580 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] staging: lustre: Remove use of return val of seq_printf

seq_printf should eventually be converted to a void function.

Remove the uses of seq_printf return values and use seq_has_overflowed() instead.

Joe Perches (3):
staging: lustre: Convert return seq_printf(...) uses to seq_has_overflowed
staging: lustre: Convert uses of "int rc = seq_printf(...)"
staging: lustre: Convert remaining uses of "= seq_printf(...)"

 drivers/staging/lustre/lustre/fid/lproc_fid.c      |  23 ++--
 drivers/staging/lustre/lustre/libcfs/hash.c        |  11 +-
 drivers/staging/lustre/lustre/llite/lproc_llite.c  | 127 ++++++++++++---------
 drivers/staging/lustre/lustre/lmv/lproc_lmv.c      |  18 ++-
 drivers/staging/lustre/lustre/lov/lproc_lov.c      |  30 +++--
 drivers/staging/lustre/lustre/mdc/lproc_mdc.c      |   6 +-
 .../lustre/lustre/obdclass/linux/linux-module.c    |  40 ++++---
 .../lustre/lustre/obdclass/lprocfs_status.c        | 120 ++++++++++---------
 drivers/staging/lustre/lustre/obdclass/lu_object.c |  25 ++--
 drivers/staging/lustre/lustre/osc/lproc_osc.c      |  67 +++++------
 .../staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c    |  25 ++--
 drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c    |  82 +++++++------
 12 files changed, 313 insertions(+), 261 deletions(-)
Signature · 1 line
2.1.2