1
0
Fork 0
alistair23-linux/drivers/scsi/csiostor
Tianjia Zhang 517f0785ce scsi: csiostor: Fix wrong return value in csio_hw_prep_fw()
[ Upstream commit 44f4daf867 ]

On an error exit path, a negative error code should be returned instead of
a positive return value.

Link: https://lore.kernel.org/r/20200802111531.5065-1-tianjia.zhang@linux.alibaba.com
Fixes: f40e74ffa3 ("csiostor:firmware upgrade fix")
Cc: Praveen Madhavan <praveenm@chelsio.com>
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:57:37 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
csio_attr.c SCSI misc on 20190306 2019-03-09 16:53:47 -08:00
csio_defs.h
csio_hw.c scsi: csiostor: Fix wrong return value in csio_hw_prep_fw() 2020-10-29 09:57:37 +01:00
csio_hw.h scsi: csiostor: fix incorrect port capabilities 2018-08-27 12:26:10 -04:00
csio_hw_chip.h scsi: csiostor: add support for Chelsio T6 adapters 2017-06-12 20:48:04 -04:00
csio_hw_t5.c scsi: csiostor: add support for Chelsio T6 adapters 2017-06-12 20:48:04 -04:00
csio_init.c SCSI misc on 20190306 2019-03-09 16:53:47 -08:00
csio_init.h scsi: csiostor: remove unneeded DRIVER_LICENSE #define 2017-12-04 20:32:53 -05:00
csio_isr.c scsi: csiostor: create per port irq affinity mask set 2019-04-29 08:34:08 -04:00
csio_lnode.c scsi: csiostor: Don't enable IRQs too early 2020-01-04 19:16:47 +01:00
csio_lnode.h
csio_mb.c scsi: csiostor: fix incorrect port capabilities 2018-08-27 12:26:10 -04:00
csio_mb.h scsi: csiostor: add support for 32 bit port capabilities 2018-03-15 00:41:51 -04:00
csio_rnode.c
csio_rnode.h
csio_scsi.c scsi: csiostor: Adjust indentation in csio_device_reset 2020-02-11 04:35:44 -08:00
csio_scsi.h
csio_wr.c scsi: csiostor: Prefer pcie_capability_read_word() 2019-08-12 22:03:42 -04:00
csio_wr.h
t4fw_api_stor.h