Re: [PATCH v4 28/50] scsi: libfc: Stop using the SCSI pointer

Hannes Reinecke
2022-02-17T07:05:15Z

On 2/16/22 22:02, Bart Van Assche wrote:
> Move the fc_fcp_pkt pointer, the residual length and the SCSI status into
> the new data structure libfc_cmd_priv. This patch prepares for removal of
> the SCSI pointer from struct scsi_cmnd.
>
> The user of the libfc data path functions have been identified as follows:
> $ git grep -lw fc_queuecommand | grep -v scsi/libfc/
> drivers/scsi/fcoe/fcoe.c
>
> Cc: Hannes Reinecke <hare@suse.de>
> Cc: Saurav Kashyap <skashyap@marvell.com>
> Cc: Javed Hasan <jhasan@marvell.com>
> Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
> Signed-off-by: Bart Van Assche <bvanassche@acm.org>
> ---
> drivers/scsi/fcoe/fcoe.c | 1 +
> drivers/scsi/libfc/fc_fcp.c | 26 +++++++++++---------------
> include/scsi/libfc.h | 9 +++++++++
> 3 files changed, 21 insertions(+), 15 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