Re: [PATCH v4 29/50] scsi: bnx2fc: Stop using the SCSI pointer

Hannes Reinecke
2022-02-17T07:06:16Z

On 2/16/22 22:02, Bart Van Assche wrote:
> Set .cmd_size in the SCSI host template instead of using the SCSI pointer
> from struct scsi_cmnd. Remove the CMD_SCSI_STATUS() assignment because the
> assigned value is not used.
>
> This patch prepares for removal of the SCSI pointer from struct scsi_cmnd.
>
> Cc: Hannes Reinecke <hare@suse.de>
> Signed-off-by: Bart Van Assche <bvanassche@acm.org>
> ---
> drivers/scsi/bnx2fc/bnx2fc.h | 9 +++++++--
> drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 1 +
> drivers/scsi/bnx2fc/bnx2fc_io.c | 23 +++++++++++------------
> 3 files changed, 19 insertions(+), 14 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer