--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
-@@ -1348,6 +1348,7 @@ qla24xx_abort_sp_done(void *ptr, int res
+@@ -1357,6 +1357,7 @@ qla24xx_abort_sp_done(void *ptr, int res
srb_t *sp = ptr;
struct srb_iocb *abt = &sp->u.iocb_cmd;
/* Alloc arrays of request and response ring ptrs */
if (!qla2x00_alloc_queues(ha, req, rsp)) {
-@@ -3374,6 +3371,9 @@ probe_failed:
+@@ -3375,6 +3372,9 @@ probe_failed:
scsi_host_put(base_vha->host);
probe_hw_failed:
--- a/drivers/scsi/qla2xxx/qla_target.c
+++ b/drivers/scsi/qla2xxx/qla_target.c
-@@ -3708,7 +3708,7 @@ static int qlt_term_ctio_exchange(struct
+@@ -3711,7 +3711,7 @@ static int qlt_term_ctio_exchange(struct
term = 1;
if (term)