Added changes to pass a new argument to fc_remote_port_chkready Signed-off-by: Muneendra <muneendra.kumar@xxxxxxxxxxxx> --- v3: New Patch --- drivers/scsi/bfa/bfad_im.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/bfa/bfad_im.c b/drivers/scsi/bfa/bfad_im.c index 22f06be2606f..550ce8cdbce2 100644 --- a/drivers/scsi/bfa/bfad_im.c +++ b/drivers/scsi/bfa/bfad_im.c @@ -956,7 +956,7 @@ bfad_im_slave_alloc(struct scsi_device *sdev) struct bfad_itnim_data_s *itnim_data; struct bfa_s *bfa; - if (!rport || fc_remote_port_chkready(rport)) + if (!rport || fc_remote_port_chkready(rport, NULL)) return -ENXIO; itnim_data = (struct bfad_itnim_data_s *) rport->dd_data; @@ -1213,7 +1213,7 @@ bfad_im_queuecommand_lck(struct scsi_cmnd *cmnd, void (*done) (struct scsi_cmnd int sg_cnt = 0; struct fc_rport *rport = starget_to_rport(scsi_target(cmnd->device)); - rc = fc_remote_port_chkready(rport); + rc = fc_remote_port_chkready(rport, cmnd); if (rc) { cmnd->result = rc; done(cmnd); -- 2.26.2
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature