Re: [PATCH v2 10/16] scsi: change FC drivers to use 'struct bsg_job'

From: Hannes Reinecke
Date: Thu Oct 13 2016 - 07:46:41 EST


On 10/12/2016 03:06 PM, Johannes Thumshirn wrote:
> Change FC drivers to use 'struct bsg_job' from bsg-lib.h instead of 'struct
> fc_bsg_job' from scsi_transport_fc.h and remove 'struct fc_bsg_job'.
>
> Signed-off-by: Johannes Thumshirn <jthumshirn@xxxxxxx>
> ---
> drivers/s390/scsi/zfcp_ext.h | 4 +--
> drivers/s390/scsi/zfcp_fc.c | 15 ++++----
> drivers/scsi/bfa/bfad_bsg.c | 10 +++---
> drivers/scsi/bfa/bfad_im.h | 4 +--
> drivers/scsi/ibmvscsi/ibmvfc.c | 9 ++---
> drivers/scsi/libfc/fc_lport.c | 10 +++---
> drivers/scsi/lpfc/lpfc_bsg.c | 74 ++++++++++++++++++++--------------------
> drivers/scsi/lpfc/lpfc_crtn.h | 4 +--
> drivers/scsi/qla2xxx/qla_bsg.c | 61 +++++++++++++++++----------------
> drivers/scsi/qla2xxx/qla_def.h | 2 +-
> drivers/scsi/qla2xxx/qla_gbl.h | 4 +--
> drivers/scsi/qla2xxx/qla_iocb.c | 8 ++---
> drivers/scsi/qla2xxx/qla_isr.c | 6 ++--
> drivers/scsi/qla2xxx/qla_mr.c | 5 +--
> drivers/scsi/scsi_transport_fc.c | 20 +++++------
> include/scsi/libfc.h | 2 +-
> include/scsi/scsi_transport_fc.h | 63 ++++++++++------------------------
> 17 files changed, 138 insertions(+), 163 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)