Skip to content

Commit de7e619

Browse files
Saurav Kashyapmartinkpetersen
authored andcommitted
Revert "scsi: qla2xxx: Fix crash on qla2x00_mailbox_command"
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>
1 parent 8394961 commit de7e619

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

drivers/scsi/qla2xxx/qla_mbx.c

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

337-
/*
338-
* Check if it's UNLOADING, cause we cannot poll in
339-
* this case, or else a NULL pointer dereference
340-
* is triggered.
341-
*/
342-
if (unlikely(test_bit(UNLOADING, &base_vha->dpc_flags)))
343-
return QLA_FUNCTION_TIMEOUT;
344-
345337
/* Check for pending interrupts. */
346338
qla2x00_poll(ha->rsp_q_map[0]);
347339

0 commit comments

Comments
 (0)