@@ -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);
Added changes to pass a new argument to fc_remote_port_chkready Signed-off-by: Muneendra <muneendra.kumar@broadcom.com> --- v3: New Patch --- drivers/scsi/bfa/bfad_im.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)