From: Bart Van Assche <bvanassche@acm.org>
To: "Martin K . Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org, Christoph Hellwig <hch@lst.de>,
Bart Van Assche <bvanassche@acm.org>
Subject: [PATCH 0/3] Introduce enums for SCSI status codes
Date: Fri, 14 May 2021 16:23:05 -0700 [thread overview]
Message-ID: <20210514232308.7826-1-bvanassche@acm.org> (raw)
Hi Martin,
This patch series introduces enums for the SAM, message, host and driver
status codes and hence improves static type checking by the compiler.
Please consider this patch series for kernel v5.14.
Thanks,
Bart.
Bart Van Assche (3):
libsas: Introduce more SAM status code aliases in enum exec_status
Introduce enums for the SAM, message, host and driver status codes
Change the type of the second argument of
scsi_host_complete_all_commands()
drivers/scsi/aic94xx/aic94xx_task.c | 2 +-
drivers/scsi/constants.c | 4 +-
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 8 +--
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 8 +--
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 8 +--
drivers/scsi/hosts.c | 8 ++-
drivers/scsi/isci/request.c | 10 +--
drivers/scsi/isci/task.c | 2 +-
drivers/scsi/libsas/sas_ata.c | 5 +-
drivers/scsi/libsas/sas_expander.c | 2 +-
drivers/scsi/libsas/sas_task.c | 4 +-
drivers/scsi/mvsas/mv_sas.c | 10 +--
drivers/scsi/pm8001/pm8001_hwi.c | 16 ++---
drivers/scsi/pm8001/pm8001_sas.c | 4 +-
drivers/scsi/pm8001/pm80xx_hwi.c | 14 ++---
drivers/target/target_core_pscsi.c | 2 +-
include/scsi/libsas.h | 3 +
include/scsi/scsi.h | 81 +-----------------------
include/scsi/scsi_host.h | 2 +-
include/scsi/scsi_proto.h | 24 +++----
include/scsi/scsi_status.h | 87 ++++++++++++++++++++++++++
21 files changed, 161 insertions(+), 143 deletions(-)
create mode 100644 include/scsi/scsi_status.h
next reply other threads:[~2021-05-14 23:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-14 23:23 Bart Van Assche [this message]
2021-05-14 23:23 ` [PATCH 1/3] libsas: Introduce more SAM status code aliases in enum exec_status Bart Van Assche
2021-05-15 6:44 ` Christoph Hellwig
2021-05-17 15:45 ` Bart Van Assche
2021-05-14 23:23 ` [PATCH 2/3] Introduce enums for the SAM, message, host and driver status codes Bart Van Assche
2021-05-17 10:38 ` John Garry
2021-05-17 15:12 ` Bart Van Assche
2021-05-14 23:23 ` [PATCH 3/3] Change the type of the second argument of scsi_host_complete_all_commands() Bart Van Assche
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=20210514232308.7826-1-bvanassche@acm.org \
--to=bvanassche@acm.org \
--cc=hch@lst.de \
--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