linux-brain/drivers/scsi/qla2xxx
Zhen Lei 8d8b8016e0 scsi: qla2xxx: Fix error return code in qla82xx_write_flash_dword()
[ Upstream commit 5cb289bf2d7c34ca1abd794ce116c4f19185a1d4 ]

Fix to return a negative error code from the error handling case instead of
0 as done elsewhere in this function.

Link: https://lore.kernel.org/r/20210514090952.6715-1-thunder.leizhen@huawei.com
Fixes: a9083016a5 ("[SCSI] qla2xxx: Add ISP82XX support.")
Reported-by: Hulk Robot <hulkci@huawei.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-26 12:05:15 +02:00
..
Kconfig
Makefile
qla_attr.c scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats() 2021-05-11 14:04:09 +02:00
qla_bsg.c scsi: qla2xxx: Fix use after free in bsg 2021-05-11 14:04:10 +02:00
qla_bsg.h
qla_dbg.c scsi: qla2xxx: Add a shadow variable to hold disc_state history of fcport 2021-04-21 12:56:12 +02:00
qla_dbg.h scsi: qla2xxx: Fix unbound NVME response length 2020-02-11 04:35:32 -08:00
qla_def.h scsi: qla2xxx: Fix stuck login session using prli_pend_timer 2021-04-21 12:56:12 +02:00
qla_devtbl.h
qla_dfs.c
qla_dsd.h
qla_fw.h scsi: qla2xxx: Dual FCP-NVMe target port support 2021-04-21 12:56:12 +02:00
qla_gbl.h scsi: qla2xxx: Fix fabric scan hang 2021-04-21 12:56:12 +02:00
qla_gs.c scsi: qla2xxx: Add a shadow variable to hold disc_state history of fcport 2021-04-21 12:56:12 +02:00
qla_init.c scsi: qla2xxx: Fix fabric scan hang 2021-04-21 12:56:12 +02:00
qla_inline.h scsi: qla2xxx: Add a shadow variable to hold disc_state history of fcport 2021-04-21 12:56:12 +02:00
qla_iocb.c scsi: qla2xxx: Fix fabric scan hang 2021-04-21 12:56:12 +02:00
qla_isr.c scsi: qla2xxx: Fix unbound NVME response length 2020-02-11 04:35:32 -08:00
qla_mbx.c scsi: qla2xxx: Dual FCP-NVMe target port support 2021-04-21 12:56:12 +02:00
qla_mid.c
qla_mr.c
qla_mr.h
qla_nvme.c scsi: qla2xxx: Fix wrong return value in qla_nvme_register_hba() 2020-10-29 09:57:36 +01:00
qla_nvme.h
qla_nx.c scsi: qla2xxx: Fix error return code in qla82xx_write_flash_dword() 2021-05-26 12:05:15 +02:00
qla_nx.h
qla_nx2.c
qla_nx2.h
qla_os.c scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand() 2021-05-11 14:04:02 +02:00
qla_settings.h
qla_sup.c
qla_target.c scsi: qla2xxx: Fix stuck login session using prli_pend_timer 2021-04-21 12:56:12 +02:00
qla_target.h scsi: qla2xxx: Fix broken #endif placement 2021-04-07 14:47:40 +02:00
qla_tmpl.c scsi: qla2xxx: Fix crash during driver load on big endian machines 2020-12-30 11:51:43 +01:00
qla_tmpl.h scsi: qla2xxx: Fix crash during driver load on big endian machines 2020-12-30 11:51:43 +01:00
qla_version.h
tcm_qla2xxx.c scsi: Revert "qla2xxx: Make sure that aborted commands are freed" 2021-03-30 14:35:29 +02:00
tcm_qla2xxx.h