Re: [PATCH v2 05/16] scsi: fc: provide fc_bsg_to_shost() helper

From: Hannes Reinecke
Date: Thu Oct 13 2016 - 09:24:09 EST


On 10/12/2016 03:06 PM, Johannes Thumshirn wrote:
> Provide fc_bsg_to_shost() helper that will become handy when we're moving from
> struct fc_bsg_job to a plain struct bsg_job. Also use this little helper in
> the LLDDs.
>
> Signed-off-by: Johannes Thumshirn <jthumshirn@xxxxxxx>
> ---
> drivers/s390/scsi/zfcp_fc.c | 4 +--
> drivers/scsi/bfa/bfad_bsg.c | 6 ++---
> drivers/scsi/ibmvscsi/ibmvfc.c | 4 +--
> drivers/scsi/libfc/fc_lport.c | 2 +-
> drivers/scsi/lpfc/lpfc_bsg.c | 32 ++++++++++++------------
> drivers/scsi/qla2xxx/qla_bsg.c | 54 ++++++++++++++++++++--------------------
> drivers/scsi/scsi_transport_fc.c | 2 +-
> include/scsi/scsi_transport_fc.h | 5 ++++
> 8 files changed, 56 insertions(+), 53 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@xxxxxxx +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)