From: Mike Christie <michaelc@xxxxxxxxxxx> Convert mptfc to use fc queueing helper. Signed-off-by: Mike Christie <michaelc@xxxxxxxxxxx> --- drivers/message/fusion/mptfc.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/message/fusion/mptfc.c b/drivers/message/fusion/mptfc.c index 3cdd4e9..1189bbe 100644 --- a/drivers/message/fusion/mptfc.c +++ b/drivers/message/fusion/mptfc.c @@ -656,9 +656,10 @@ mptfc_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) return 0; } - err = fc_remote_port_chkready(rport); - if (unlikely(err)) { - SCpnt->result = err; + err = fc_remote_port_queue_ready(rport, SCpnt); + if (err) + return err; + if (SCpnt->result) { done(SCpnt); return 0; } -- 1.5.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html