kernel_samsung_a53x/drivers/scsi/qla2xxx
Quinn Tran 0e621741db scsi: qla2xxx: Fix flash read failure
commit 29e222085d8907ccff18ecd931bdd4c6b1f11b92 upstream.

Link up failure is observed as a result of flash read failure.  Current
code does not check flash read return code where it relies on FW checksum
to detect the problem.

Add check of flash read failure to detect the problem sooner.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/all/202406210815.rPDRDMBi-lkp@intel.com/
Cc: stable@vger.kernel.org
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Link: https://lore.kernel.org/r/20240710171057.35066-6-njavali@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:20:15 +01:00
..
Kconfig
Makefile
qla_attr.c scsi: qla2xxx: Delay I/O Abort on PCI error 2024-11-19 09:22:43 +01:00
qla_bsg.c scsi: qla2xxx: Return ENOBUFS if sg_cnt is more than one for ELS cmds 2024-11-23 23:20:14 +01:00
qla_bsg.h
qla_dbg.c
qla_dbg.h
qla_def.h scsi: qla2xxx: Update manufacturer detail 2024-11-19 09:22:47 +01:00
qla_devtbl.h
qla_dfs.c
qla_dsd.h
qla_fw.h
qla_gbl.h
qla_gs.c scsi: qla2xxx: Fix optrom version displayed in FDMI 2024-11-23 23:20:13 +01:00
qla_init.c scsi: qla2xxx: Fix flash read failure 2024-11-23 23:20:15 +01:00
qla_inline.h
qla_iocb.c
qla_isr.c
qla_mbx.c
qla_mid.c scsi: qla2xxx: During vport delete send async logout explicitly 2024-11-23 23:20:15 +01:00
qla_mr.c scsi: qla2xxx: Replace all non-returning strlcpy() with strscpy() 2024-11-19 12:27:06 +01:00
qla_mr.h
qla_nvme.c
qla_nvme.h
qla_nx.c
qla_nx.h
qla_nx2.c
qla_nx2.h
qla_os.c scsi: qla2xxx: Fix for possible memory corruption 2024-11-23 23:20:15 +01:00
qla_settings.h
qla_sup.c scsi: qla2xxx: Fix flash read failure 2024-11-23 23:20:15 +01:00
qla_target.c scsi: qla2xxx: Fix command flush on cable pull 2024-11-19 09:22:43 +01:00
qla_target.h
qla_tmpl.c
qla_tmpl.h
qla_version.h
tcm_qla2xxx.c
tcm_qla2xxx.h