linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Thumshirn <jthumshirn@suse.de>
To: "Martin K . Petersen" <martin.petersen@oracle.com>
Cc: Linux Kernel Mailinglist <linux-kernel@vger.kernel.org>,
	Linux SCSI Mailinglist <linux-scsi@vger.kernel.org>,
	Johannes Thumshirn <jthumshirn@suse.de>
Subject: [PATCH 0/4] SCSI results rework preparation part 2
Date: Thu,  5 Jul 2018 13:01:36 +0200	[thread overview]
Message-ID: <20180705110140.19545-1-jthumshirn@suse.de> (raw)

As the first part of the preparation work for my scsi results handling
rework is done, here's the second batch.

The first patch changes the AAC_STAT_GOOD define into an open-coded
version in aacraid. The other three patches convert the three
ScsiResult() macros in bfa, lpfc and ncr53c8xx to their open-coded
equivalen.

This is helpful for subsequent refactoring, as it's easier to identify
which code parts need more work and Coccinelle Spatches are easier to
apply.

Johannes Thumshirn (4):
  scsi: aacraid: remove AAC_STAT_GOOD define
  scsi: bfa: remove ScsiResult macro
  scsi: lpfc: remove ScsiResult macro
  scsi: ncr53c8xx: remove ScsiResult macro

 drivers/scsi/aacraid/aachba.c | 41 ++++++++++++++++++++++++++--------------
 drivers/scsi/bfa/bfad_im.c    | 19 ++++++++-----------
 drivers/scsi/bfa/bfad_im.h    |  1 -
 drivers/scsi/lpfc/lpfc_crtn.h |  1 -
 drivers/scsi/lpfc/lpfc_scsi.c | 44 +++++++++++++++++++++----------------------
 drivers/scsi/ncr53c8xx.c      | 10 +++++-----
 6 files changed, 62 insertions(+), 54 deletions(-)

-- 
2.16.4

             reply	other threads:[~2018-07-05 11:01 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-05 11:01 Johannes Thumshirn [this message]
2018-07-05 11:01 ` [PATCH 1/4] scsi: aacraid: remove AAC_STAT_GOOD define Johannes Thumshirn
2018-07-05 17:24   ` Bart Van Assche
2018-07-06  8:04     ` Johannes Thumshirn
2018-07-06 17:01       ` Bart Van Assche
2018-07-05 17:42   ` Dave Carroll
2018-07-05 17:49     ` Bart Van Assche
2018-07-06  8:03     ` Johannes Thumshirn
2018-07-06 16:55       ` Dave Carroll
2018-07-05 11:01 ` [PATCH 2/4] scsi: bfa: remove ScsiResult macro Johannes Thumshirn
2018-07-05 17:00   ` Bart Van Assche
2018-07-06  8:08     ` Johannes Thumshirn
2018-07-05 11:01 ` [PATCH 3/4] scsi: lpfc: " Johannes Thumshirn
2018-07-05 17:02   ` Bart Van Assche
2018-07-05 11:01 ` [PATCH 4/4] scsi: ncr53c8xx: " Johannes Thumshirn
2018-07-05 17:04   ` Bart Van Assche
2018-07-06  8:09     ` Johannes Thumshirn
2018-07-06 17:05       ` Bart Van Assche
2018-07-09  7:15         ` Johannes Thumshirn
2018-07-11  2:53 ` [PATCH 0/4] SCSI results rework preparation part 2 Martin K. Petersen

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=20180705110140.19545-1-jthumshirn@suse.de \
    --to=jthumshirn@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.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;
as well as URLs for NNTP newsgroup(s).