2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 09:13:55 +08:00
linux-next/drivers/scsi/lpfc
James.Smart@Emulex.Com db468d108a [SCSI] lpfc: Fixes in mbox_timeout_handler
Analysis:

Timeout of READ_SPARM64 causes call to lpfc_mbox_timeout_handler which
reads psli->mbox_active to determine the timeout mbox.  Timeout
handler then NULL's psli->mbox_active and calls
lpfc_mbx_cmpl_read_sparam(), which on timeout condition, calls
link_down().  link_down() now calls disc_done() which calls
mbox_timeout_hander() again since WORKER_MBOX_TMO is still set, which
goes back to read psli->mbox_active which is already NULL'ed.

Remove redundant if statement in lpfc_mbox_timeout_handler.  pmbox is
assigned psli->mbox_active so there is no need to check if it actually
equals psli->mbox_active.

Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-07-02 17:05:32 -05:00
..
lpfc_attr.c lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00
lpfc_compat.h lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00
lpfc_crtn.h lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00
lpfc_ct.c lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00
lpfc_disc.h lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00
lpfc_els.c lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00
lpfc_hbadisc.c [SCSI] Fix issue where all hosts log nodev message for other initiators 2005-07-02 17:04:06 -05:00
lpfc_hw.h [SCSI] lpfc: hgp/pgp cleanups 2005-07-02 16:58:16 -05:00
lpfc_init.c lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00
lpfc_logmsg.h lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00
lpfc_mbox.c [SCSI] lpfc: hgp/pgp cleanups 2005-07-02 16:58:16 -05:00
lpfc_mem.c lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00
lpfc_nportdisc.c lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00
lpfc_scsi.c [SCSI] allow sleeping in ->eh_bus_reset_handler() 2005-06-17 12:05:10 -05:00
lpfc_scsi.h lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00
lpfc_sli.c [SCSI] lpfc: Fixes in mbox_timeout_handler 2005-07-02 17:05:32 -05:00
lpfc_sli.h lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00
lpfc_version.h lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00
lpfc.h lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00
Makefile lpfc: add Emulex FC driver version 8.0.28 2005-04-18 13:50:53 -05:00