From: Can Guo <cang@codeaurora.org>
To: Bart Van Assche <bvanassche@acm.org>
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
"James E . J . Bottomley" <jejb@linux.vnet.ibm.com>,
linux-scsi@vger.kernel.org, Christoph Hellwig <hch@lst.de>,
Ming Lei <ming.lei@redhat.com>, Hannes Reinecke <hare@suse.com>,
John Garry <john.garry@huawei.com>,
James Smart <james.smart@broadcom.com>,
Lee Duncan <lduncan@suse.com>
Subject: Re: [PATCH 011/117] Introduce the scsi_status union
Date: Fri, 07 May 2021 08:04:04 +0800 [thread overview]
Message-ID: <21012e074db33f317005e09f5a3a18a3@codeaurora.org> (raw)
In-Reply-To: <20210420000845.25873-12-bvanassche@acm.org>
On 2021-04-20 08:06, Bart Van Assche wrote:
> Introduce the scsi_status union, a data structure that will be used in
> the
> next patches to replace SCSI status codes represented as an integer.
> Define
> that data structure as follows:
>
> union scsi_status {
> int32_t combined;
> struct {
> #if defined(__BIG_ENDIAN)
> enum driver_status driver;
> enum host_status host;
> enum msg_byte msg;
> enum sam_status status;
> #elif defined(__LITTLE_ENDIAN)
> enum sam_status status;
> enum msg_byte msg;
> enum host_status host;
> enum driver_status driver;
> #else
> #error Endianness?
> #endif
> } b;
> };
>
> The 'combined' member makes it easy to convert existing SCSI code. The
> 'status', 'msg', 'host' and 'driver' enable access of individual SCSI
> status fields in a type-safe fashion.
>
> Change 'int result;' into the following to enable converting one driver
> at
> a time:
>
> union {
> int result;
> union scsi_status status;
> };
>
> A later patch will remove the outer union and 'int result;'.
>
> Also to enable converting one driver at a time, make
> scsi_status_is_good(),
> status_byte(), msg_byte(), host_byte() and driver_byte() accept an int
> or
> union scsi_status as argument. A later patch will make this function
> and
> these macros accept the scsi_status union only.
>
> Cc: Christoph Hellwig <hch@lst.de>
> Cc: Ming Lei <ming.lei@redhat.com>
> Cc: Hannes Reinecke <hare@suse.com>
> Cc: John Garry <john.garry@huawei.com>
> Cc: Can Guo <cang@codeaurora.org>
> Cc: James Smart <james.smart@broadcom.com>
> Cc: Lee Duncan <lduncan@suse.com>
> Signed-off-by: Bart Van Assche <bvanassche@acm.org>
> ---
> drivers/scsi/scsi.c | 9 +++++++++
> include/linux/bsg-lib.h | 6 +++++-
> include/scsi/scsi.h | 24 +++++++++++++++++++-----
> include/scsi/scsi_bsg_iscsi.h | 6 +++++-
> include/scsi/scsi_cmnd.h | 14 +++++++++-----
> include/scsi/scsi_eh.h | 7 ++++++-
> include/scsi/scsi_request.h | 6 +++++-
> include/scsi/scsi_status.h | 29 +++++++++++++++++++++++++++++
> include/uapi/scsi/scsi_bsg_fc.h | 10 ++++++++++
> include/uapi/scsi/scsi_bsg_ufs.h | 11 +++++++++++
> 10 files changed, 108 insertions(+), 14 deletions(-)
>
> diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
> index e9e2f0e15ac8..4f71f2005be4 100644
> --- a/drivers/scsi/scsi.c
> +++ b/drivers/scsi/scsi.c
> @@ -763,10 +763,19 @@ MODULE_LICENSE("GPL");
> module_param(scsi_logging_level, int, S_IRUGO|S_IWUSR);
> MODULE_PARM_DESC(scsi_logging_level, "a bit mask of logging levels");
>
> +#define TEST_STATUS ((union scsi_status){.combined = 0x01020308})
> +
> static int __init init_scsi(void)
> {
> int error;
>
> + BUILD_BUG_ON(sizeof(union scsi_status) != 4);
> + BUILD_BUG_ON(TEST_STATUS.combined != 0x01020308);
> + BUILD_BUG_ON(driver_byte(TEST_STATUS) != 1);
> + BUILD_BUG_ON(host_byte(TEST_STATUS) != 2);
> + BUILD_BUG_ON(msg_byte(TEST_STATUS) != 3);
> + BUILD_BUG_ON(status_byte(TEST_STATUS) != 4);
> +
> error = scsi_init_procfs();
> if (error)
> goto cleanup_queue;
> diff --git a/include/linux/bsg-lib.h b/include/linux/bsg-lib.h
> index 960988d42f77..f934afc45760 100644
> --- a/include/linux/bsg-lib.h
> +++ b/include/linux/bsg-lib.h
> @@ -11,6 +11,7 @@
>
> #include <linux/blkdev.h>
> #include <scsi/scsi_request.h>
> +#include <scsi/scsi_status.h>
>
> struct request;
> struct device;
> @@ -52,7 +53,10 @@ struct bsg_job {
> struct bsg_buffer request_payload;
> struct bsg_buffer reply_payload;
>
> - int result;
> + union {
> + int result; /* do not use in new code */
> + union scsi_status status;
> + };
> unsigned int reply_payload_rcv_len;
>
> /* BIDI support */
> diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
> index c9ccb6b45b76..18bb1fb2458f 100644
> --- a/include/scsi/scsi.h
> +++ b/include/scsi/scsi.h
> @@ -39,7 +39,7 @@ enum scsi_timeouts {
> * This returns true for known good conditions that may be treated as
> * command completed normally
> */
> -static inline int scsi_status_is_good(int status)
> +static inline bool __scsi_status_is_good(int status)
> {
> /*
> * FIXME: bit0 is listed as reserved in SCSI-2, but is
> @@ -56,6 +56,20 @@ static inline int scsi_status_is_good(int status)
> (status == SAM_STAT_COMMAND_TERMINATED));
> }
>
> +/*
> + * If the 'status' argument has type int, unsigned int or union
> scsi_status,
> + * return the combined SCSI status. If the 'status' argument has
> another type,
> + * trigger a compiler error by passing a struct to a context where an
> integer
> + * is expected.
> + */
> +#define scsi_status_to_int(status) \
> + __builtin_choose_expr(sizeof(status) == 4, \
> + *(int32_t *)&(status), \
> + (union scsi_status){})
> +
> +#define scsi_status_is_good(status) \
> + __scsi_status_is_good(scsi_status_to_int(status))
> +
>
> /*
> * standard mode-select header prepended to all mode-select commands
> @@ -134,10 +148,10 @@ enum scsi_disposition {
> * driver_byte = set by mid-level.
> */
> #define status_byte(result) ((enum sam_status_divided_by_two) \
> - (((result) >> 1) & 0x7f))
> -#define msg_byte(result) (((result) >> 8) & 0xff)
> -#define host_byte(result) (((result) >> 16) & 0xff)
> -#define driver_byte(result) (((result) >> 24) & 0xff)
> + ((scsi_status_to_int((result)) >> 1) & 0x7f))
> +#define msg_byte(result) ((scsi_status_to_int((result)) >> 8) &
> 0xff)
> +#define host_byte(result) ((scsi_status_to_int((result)) >> 16) &
> 0xff)
> +#define driver_byte(result) ((scsi_status_to_int((result)) >> 24) &
> 0xff)
>
> #define sense_class(sense) (((sense) >> 4) & 0x7)
> #define sense_error(sense) ((sense) & 0xf)
> diff --git a/include/scsi/scsi_bsg_iscsi.h
> b/include/scsi/scsi_bsg_iscsi.h
> index 6b8128005af8..d18e7e061927 100644
> --- a/include/scsi/scsi_bsg_iscsi.h
> +++ b/include/scsi/scsi_bsg_iscsi.h
> @@ -13,6 +13,7 @@
> */
>
> #include <scsi/scsi.h>
> +#include <scsi/scsi_status.h>
>
> /*
> * iSCSI Transport SGIO v4 BSG Message Support
> @@ -82,7 +83,10 @@ struct iscsi_bsg_reply {
> * msg and status fields. The per-msgcode reply structure
> * will contain valid data.
> */
> - uint32_t result;
> + union {
> + uint32_t result; /* do not use in new code */
> + union scsi_status status;
> + };
>
> /* If there was reply_payload, how much was recevied ? */
> uint32_t reply_payload_rcv_len;
> diff --git a/include/scsi/scsi_cmnd.h b/include/scsi/scsi_cmnd.h
> index 202106e7c814..539be97b0a7d 100644
> --- a/include/scsi/scsi_cmnd.h
> +++ b/include/scsi/scsi_cmnd.h
> @@ -140,7 +140,11 @@ struct scsi_cmnd {
> * obtained by scsi_malloc is guaranteed
> * to be at an address < 16Mb). */
>
> - int result; /* Status code from lower level driver */
> + /* Status code from lower level driver */
> + union {
> + int result; /* do not use in new code. */
> + union scsi_status status;
> + };
> int flags; /* Command flags */
> unsigned long state; /* Command completion state */
>
> @@ -317,23 +321,23 @@ static inline struct scsi_data_buffer
> *scsi_prot(struct scsi_cmnd *cmd)
> static inline void set_status_byte(struct scsi_cmnd *cmd,
> enum sam_status status)
> {
> - cmd->result = (cmd->result & 0xffffff00) | status;
> + cmd->status.b.status = status;
> }
>
> static inline void set_msg_byte(struct scsi_cmnd *cmd, enum msg_byte
> status)
> {
> - cmd->result = (cmd->result & 0xffff00ff) | (status << 8);
> + cmd->status.b.msg = status;
> }
>
> static inline void set_host_byte(struct scsi_cmnd *cmd, enum
> host_status status)
> {
> - cmd->result = (cmd->result & 0xff00ffff) | (status << 16);
> + cmd->status.b.host = status;
> }
>
> static inline void set_driver_byte(struct scsi_cmnd *cmd,
> enum driver_status status)
> {
> - cmd->result = (cmd->result & 0x00ffffff) | (status << 24);
> + cmd->status.b.driver = status;
> }
>
> static inline unsigned scsi_transfer_length(struct scsi_cmnd *scmd)
> diff --git a/include/scsi/scsi_eh.h b/include/scsi/scsi_eh.h
> index 468094254b3c..dcd66bb9a1ba 100644
> --- a/include/scsi/scsi_eh.h
> +++ b/include/scsi/scsi_eh.h
> @@ -6,6 +6,8 @@
>
> #include <scsi/scsi_cmnd.h>
> #include <scsi/scsi_common.h>
> +#include <scsi/scsi_status.h>
> +
> struct scsi_device;
> struct Scsi_Host;
>
> @@ -31,7 +33,10 @@ extern int scsi_ioctl_reset(struct scsi_device *,
> int __user *);
>
> struct scsi_eh_save {
> /* saved state */
> - int result;
> + union {
> + int result; /* do not use in new code */
> + union scsi_status status;
> + };
> unsigned int resid_len;
> int eh_eflags;
> enum dma_data_direction data_direction;
> diff --git a/include/scsi/scsi_request.h b/include/scsi/scsi_request.h
> index b06f28c74908..83f5549cc74c 100644
> --- a/include/scsi/scsi_request.h
> +++ b/include/scsi/scsi_request.h
> @@ -3,6 +3,7 @@
> #define _SCSI_SCSI_REQUEST_H
>
> #include <linux/blk-mq.h>
> +#include <scsi/scsi_status.h>
>
> #define BLK_MAX_CDB 16
>
> @@ -10,7 +11,10 @@ struct scsi_request {
> unsigned char __cmd[BLK_MAX_CDB];
> unsigned char *cmd;
> unsigned short cmd_len;
> - int result;
> + union {
> + int result; /* do not use in new code */
> + union scsi_status status;
> + };
> unsigned int sense_len;
> unsigned int resid_len; /* residual count */
> int retries;
> diff --git a/include/scsi/scsi_status.h b/include/scsi/scsi_status.h
> index da2ba825f981..120f5a43d2ed 100644
> --- a/include/scsi/scsi_status.h
> +++ b/include/scsi/scsi_status.h
> @@ -3,6 +3,7 @@
>
> #include <linux/types.h>
> #include <linux/compiler_attributes.h>
> +#include <asm/byteorder.h>
> #include <scsi/scsi_proto.h>
>
> /*
> @@ -88,4 +89,32 @@ enum driver_status {
> DRIVER_SENSE = 0x08,
> } __packed;
>
> +/**
> + * SCSI status passed by LLDs to the midlayer.
> + * @combined: One of the following:
> + * - A (driver, host, msg, status) quadruplet encoded as a 32-bit
> integer.
> + * - A negative Unix error code.
> + * - In the IDE code, a positive value that represents an error code,
> an
> + * error counter or a bitfield.
> + * @b: SCSI status code.
> + */
> +union scsi_status {
> + int32_t combined;
> + struct {
> +#if defined(__BIG_ENDIAN)
> + enum driver_status driver;
> + enum host_status host;
> + enum msg_byte msg;
> + enum sam_status status;
> +#elif defined(__LITTLE_ENDIAN)
> + enum sam_status status;
> + enum msg_byte msg;
> + enum host_status host;
> + enum driver_status driver;
> +#else
> +#error Endianness?
> +#endif
> + } b;
> +};
> +
> #endif /* _SCSI_SCSI_STATUS_H */
> diff --git a/include/uapi/scsi/scsi_bsg_fc.h
> b/include/uapi/scsi/scsi_bsg_fc.h
> index 3ae65e93235c..419db719fe8e 100644
> --- a/include/uapi/scsi/scsi_bsg_fc.h
> +++ b/include/uapi/scsi/scsi_bsg_fc.h
> @@ -9,6 +9,9 @@
> #define SCSI_BSG_FC_H
>
> #include <linux/types.h>
> +#ifdef __KERNEL__
> +#include <scsi/scsi_status.h>
> +#endif
>
> /*
> * This file intended to be included by both kernel and user space
> @@ -291,7 +294,14 @@ struct fc_bsg_reply {
> * msg and status fields. The per-msgcode reply structure
> * will contain valid data.
> */
> +#ifdef __KERNEL__
> + union {
> + __u32 result; /* do not use in new kernel code */
> + union scsi_status status;
> + };
> +#else
> __u32 result;
> +#endif
>
> /* If there was reply_payload, how much was recevied ? */
> __u32 reply_payload_rcv_len;
> diff --git a/include/uapi/scsi/scsi_bsg_ufs.h
> b/include/uapi/scsi/scsi_bsg_ufs.h
> index d55f2176dfd4..3dfe5a5a0842 100644
> --- a/include/uapi/scsi/scsi_bsg_ufs.h
> +++ b/include/uapi/scsi/scsi_bsg_ufs.h
> @@ -9,6 +9,10 @@
> #define SCSI_BSG_UFS_H
>
> #include <linux/types.h>
> +#ifdef __KERNEL__
> +#include <scsi/scsi_status.h>
> +#endif
> +
> /*
> * This file intended to be included by both kernel and user space
> */
> @@ -95,7 +99,14 @@ struct ufs_bsg_reply {
> * msg and status fields. The per-msgcode reply structure
> * will contain valid data.
> */
> +#ifdef __KERNEL__
> + union {
> + __u32 result; /* do not use in new kernel code */
> + union scsi_status status;
> + };
> +#else
> __u32 result;
> +#endif
>
> /* If there was reply_payload, how much was received? */
> __u32 reply_payload_rcv_len;
Reviewed-by: Can Guo <cang@codeaurora.org>
next prev parent reply other threads:[~2021-05-07 0:04 UTC|newest]
Thread overview: 158+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-20 0:06 [PATCH 000/117] Make better use of static type checking Bart Van Assche
2021-04-20 0:06 ` [PATCH 001/117] libsas: Introduce more SAM status code aliases in enum exec_status Bart Van Assche
2021-04-20 0:06 ` [PATCH 002/117] Introduce enums for the SAM, message, host and driver status codes Bart Van Assche
2021-04-20 9:23 ` Steffen Maier
2021-04-20 14:59 ` Bart Van Assche
2021-04-20 0:06 ` [PATCH 003/117] Change the type of the second argument of scsi_host_complete_all_commands() Bart Van Assche
2021-04-20 0:06 ` [PATCH 004/117] libiscsi: Use the host_status enum Bart Van Assche
2021-05-06 16:51 ` Lee Duncan
2021-04-20 0:06 ` [PATCH 005/117] libsas: Use the host_status and sam_status enums Bart Van Assche
2021-04-20 0:06 ` [PATCH 006/117] target: Use enum sam_status instead of u8 Bart Van Assche
2021-04-20 0:06 ` [PATCH 007/117] lpfc: Reformat four comparisons Bart Van Assche
2021-04-21 20:22 ` James Smart
2021-04-20 0:06 ` [PATCH 008/117] fc: Add a compile-time structure size check Bart Van Assche
2021-04-20 0:06 ` [PATCH 009/117] iscsi: " Bart Van Assche
2021-05-06 16:52 ` Lee Duncan
2021-04-20 0:06 ` [PATCH 010/117] ufs: " Bart Van Assche
2021-05-06 23:56 ` Can Guo
2021-04-20 0:06 ` [PATCH 011/117] Introduce the scsi_status union Bart Van Assche
2021-05-06 17:04 ` Lee Duncan
2021-05-07 0:04 ` Can Guo [this message]
2021-04-20 0:07 ` [PATCH 012/117] block: Convert SCSI and bsg code to " Bart Van Assche
2021-04-20 0:07 ` [PATCH 013/117] core: Convert " Bart Van Assche
2021-04-20 0:07 ` [PATCH 014/117] ch: Pass union scsi_status to driver_byte() Bart Van Assche
2021-04-20 0:07 ` [PATCH 015/117] sd: Convert to the scsi_status union Bart Van Assche
2021-04-20 0:07 ` [PATCH 016/117] sr: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 017/117] st: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 018/117] sg: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 019/117] 3w*: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 020/117] 53c700: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 021/117] BusLogic: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 022/117] NCR5380: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 023/117] a100u2w: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 024/117] aacraid: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 025/117] acornscsi: Annotate fallthrough Bart Van Assche
2021-04-20 0:07 ` [PATCH 026/117] acornscsi: Convert to the scsi_status union Bart Van Assche
2021-04-20 0:07 ` [PATCH 027/117] advansys: " Bart Van Assche
2021-04-20 1:49 ` Matthew Wilcox
2021-04-20 2:27 ` Douglas Gilbert
2021-04-20 3:20 ` Bart Van Assche
2021-04-20 3:17 ` Bart Van Assche
2021-04-20 3:23 ` Matthew Wilcox
2021-04-20 15:01 ` Bart Van Assche
2021-04-20 0:07 ` [PATCH 028/117] aha*: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 029/117] aic*: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 030/117] arcmsr: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 031/117] ata: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 032/117] atp870u: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 033/117] be2iscsi: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 034/117] bfa: Use type int32_t to represent a signed integer Bart Van Assche
2021-04-20 0:07 ` [PATCH 035/117] bfa: Convert to the scsi_status union Bart Van Assche
2021-04-20 0:07 ` [PATCH 036/117] bnx2fc: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 037/117] cdrom: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 038/117] csiostor: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 039/117] cxlflash: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 040/117] dc395x: Use the set_{host,msg,status}_byte() functions Bart Van Assche
2021-04-20 0:07 ` [PATCH 041/117] dc395x: Convert to the scsi_status union Bart Van Assche
2021-04-20 0:07 ` [PATCH 042/117] dpt_i2o: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 043/117] esas2r: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 044/117] esp_scsi: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 045/117] fas216: Fix two source code comments Bart Van Assche
2021-04-20 0:07 ` [PATCH 046/117] fas216: Convert to the scsi_status union Bart Van Assche
2021-04-20 0:07 ` [PATCH 047/117] fc: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 048/117] fdomain: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 049/117] firewire: sbp2: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 050/117] fnic: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 051/117] hpsa: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 052/117] hptiop: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 053/117] ib_srp: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 054/117] ibmvfc: Fix the documentation of the return value of ibmvfc_host_chkready() Bart Van Assche
2021-04-20 0:07 ` [PATCH 055/117] ibmvfc: Convert to the scsi_status union Bart Van Assche
2021-04-20 0:07 ` [PATCH 056/117] ibmvscsi: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 057/117] ide: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 058/117] imm: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 059/117] initio: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 060/117] ipr: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 061/117] ips: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 062/117] iscsi: " Bart Van Assche
2021-05-06 18:54 ` Lee Duncan
2021-04-20 0:07 ` [PATCH 063/117] libfc: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 064/117] sas: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 065/117] lpfc: " Bart Van Assche
2021-04-21 20:26 ` James Smart
2021-04-20 0:07 ` [PATCH 066/117] mac53c94: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 067/117] megaraid: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 068/117] mesh: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 069/117] message: fusion: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 070/117] mpt3sas: " Bart Van Assche
2021-04-20 0:07 ` [PATCH 071/117] mvumi: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 072/117] myrb: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 073/117] myrs: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 074/117] ncr53c8xx: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 075/117] nfsd: " Bart Van Assche
2021-04-20 14:36 ` Chuck Lever III
2021-04-20 16:44 ` Bart Van Assche
2021-04-21 14:22 ` Chuck Lever III
2021-04-21 16:12 ` Bart Van Assche
2021-04-21 16:27 ` Chuck Lever III
2021-04-20 0:08 ` [PATCH 076/117] nsp32: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 077/117] pcmcia: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 078/117] pktcdvd: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 079/117] pmcraid: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 080/117] ppa: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 081/117] ps3rom: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 082/117] qedf: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 083/117] qedi: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 084/117] qla1280: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 085/117] qla2xxx: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 086/117] qla4xxx: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 087/117] qlogicfas408: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 088/117] qlogicpti: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 089/117] s390/zfcp: " Bart Van Assche
2021-04-20 0:08 ` [PATCH 090/117] scsi_debug: " Bart Van Assche
2021-04-20 2:13 ` [PATCH 091/117] smartpqi: " Bart Van Assche
2021-04-20 2:13 ` [PATCH 092/117] snic: " Bart Van Assche
2021-04-20 2:13 ` [PATCH 093/117] staging: " Bart Van Assche
2021-04-20 7:47 ` Greg Kroah-Hartman
2021-04-20 15:02 ` Bart Van Assche
2021-04-20 15:06 ` Greg Kroah-Hartman
2021-04-20 2:13 ` [PATCH 094/117] stex: " Bart Van Assche
2021-04-20 2:13 ` [PATCH 095/117] storvsc: " Bart Van Assche
2021-04-20 19:39 ` Wei Liu
2021-04-20 2:13 ` [PATCH 096/117] sym53c8xx_2: " Bart Van Assche
2021-04-20 2:13 ` [PATCH 097/117] target: " Bart Van Assche
2021-04-20 2:13 ` [PATCH 098/117] ufs: Remove an unused structure member Bart Van Assche
2021-05-06 23:57 ` Can Guo
2021-04-20 2:13 ` [PATCH 099/117] ufs: Remove a local variable Bart Van Assche
2021-05-06 23:56 ` Can Guo
2021-04-20 2:13 ` [PATCH 100/117] ufs: Use enum sam_status where appropriate Bart Van Assche
2021-05-07 0:01 ` Can Guo
2021-05-07 0:01 ` Can Guo
2021-04-20 2:13 ` [PATCH 101/117] ufs: Remove an assignment from ufshcd_transfer_rsp_status() Bart Van Assche
2021-05-07 0:03 ` Can Guo
2021-04-20 2:13 ` [PATCH 102/117] ufs: Convert to the scsi_status union Bart Van Assche
2021-05-07 0:09 ` Can Guo
2021-05-07 3:35 ` Bart Van Assche
2021-05-07 4:48 ` Can Guo
2021-04-20 2:13 ` [PATCH 103/117] usb: " Bart Van Assche
2021-04-20 2:13 ` [PATCH 104/117] virtio-scsi: " Bart Van Assche
2021-04-20 2:13 ` [PATCH 105/117] vmw_pvscsi: " Bart Van Assche
2021-04-20 2:13 ` [PATCH 106/117] wd33c93: " Bart Van Assche
2021-04-20 2:13 ` [PATCH 107/117] wd719x: " Bart Van Assche
2021-04-20 2:13 ` [PATCH 108/117] xen-scsiback: Pass union status to the {status,msg,host,driver}_byte() macros Bart Van Assche
2021-04-20 2:13 ` [PATCH 109/117] xen-scsifront: Convert to the scsi_status union Bart Van Assche
2021-04-20 2:13 ` [PATCH 110/117] Finalize the switch from 'int' to 'union scsi_status' Bart Van Assche
2021-05-06 18:55 ` Lee Duncan
2021-05-07 0:24 ` Can Guo
2021-04-20 2:13 ` [PATCH 111/117] Use the scsi_status union more widely Bart Van Assche
2021-04-20 2:13 ` [PATCH 112/117] Change the return type of scsi_execute() into union scsi_status Bart Van Assche
2021-04-20 2:13 ` [PATCH 113/117] Change the return type of scsi_execute_req() " Bart Van Assche
2021-04-20 2:13 ` [PATCH 114/117] Change the return type of scsi_test_unit_ready() " Bart Van Assche
2021-04-20 2:14 ` [PATCH 115/117] Change the return types of scsi_mode_sense() and sd_do_mode_sense() Bart Van Assche
2021-04-20 2:14 ` [PATCH 116/117] Change the return type of scsi_mode_select() into union scsi_status Bart Van Assche
2021-04-20 2:14 ` [PATCH 117/117] Change the return type of ioctl_internal_command() " Bart Van Assche
2021-04-20 6:04 ` [PATCH 000/117] Make better use of static type checking Hannes Reinecke
2021-04-20 16:12 ` Bart Van Assche
2021-04-20 17:11 ` Hannes Reinecke
2021-04-20 21:10 ` Bart Van Assche
2021-04-20 17:19 ` Douglas Gilbert
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=21012e074db33f317005e09f5a3a18a3@codeaurora.org \
--to=cang@codeaurora.org \
--cc=bvanassche@acm.org \
--cc=hare@suse.com \
--cc=hch@lst.de \
--cc=james.smart@broadcom.com \
--cc=jejb@linux.vnet.ibm.com \
--cc=john.garry@huawei.com \
--cc=lduncan@suse.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=ming.lei@redhat.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