Skip to content

Commit 748b702

Browse files
Saurav Kashyapgregkh
authored andcommitted
Revert "scsi: qla2xxx: Fix crash on qla2x00_mailbox_command"
[ Upstream commit de7e619 ] FCoE adapter initialization failed for ISP8021 with the following patch applied. In addition, reproduction of the issue the patch originally tried to address has been unsuccessful. This reverts commit 3cb182b. Link: https://lore.kernel.org/r/20200806111014.28434-11-njavali@marvell.com Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Saurav Kashyap <skashyap@marvell.com> Signed-off-by: Nilesh Javali <njavali@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent cd29934 commit 748b702

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/scsi/qla2xxx/qla_mbx.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -329,14 +329,6 @@ qla2x00_mailbox_command(scsi_qla_host_t *vha, mbx_cmd_t *mcp)
329329
if (time_after(jiffies, wait_time))
330330
break;
331331

332-
/*
333-
* Check if it's UNLOADING, cause we cannot poll in
334-
* this case, or else a NULL pointer dereference
335-
* is triggered.
336-
*/
337-
if (unlikely(test_bit(UNLOADING, &base_vha->dpc_flags)))
338-
return QLA_FUNCTION_TIMEOUT;
339-
340332
/* Check for pending interrupts. */
341333
qla2x00_poll(ha->rsp_q_map[0]);
342334

0 commit comments

Comments
 (0)