public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Oleg Drokin <oleg.drokin@intel.com>,
	Andreas Dilger <andreas.dilger@intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	HPDD-discuss@ml01.01.org, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/3] staging: lustre: Remove use of return val of seq_printf
Date: Mon, 16 Feb 2015 11:24:46 -0800	[thread overview]
Message-ID: <cover.1424114484.git.joe@perches.com> (raw)

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(-)

-- 
2.1.2


             reply	other threads:[~2015-02-16 19:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-16 19:24 Joe Perches [this message]
2015-02-16 19:24 ` [PATCH 1/3] staging: lustre: Convert return seq_printf(...) uses to seq_has_overflowed Joe Perches
2015-02-16 19:24 ` [PATCH 2/3] staging: lustre: Convert uses of "int rc = seq_printf(...)" Joe Perches
2015-02-16 19:24 ` [PATCH 3/3] staging: lustre: Convert remaining uses of "= seq_printf(...)" Joe Perches
2015-02-18  1:18 ` [PATCH 0/3] staging: lustre: Remove use of return val of seq_printf 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.1424114484.git.joe@perches.com \
    --to=joe@perches.com \
    --cc=HPDD-discuss@ml01.01.org \
    --cc=andreas.dilger@intel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg.drokin@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox