summaryrefslogtreecommitdiff
path: root/drivers/scsi/csiostor/csio_hw.h
diff options
context:
space:
mode:
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>2020-08-02 14:15:31 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2020-08-25 06:27:37 +0300
commit44f4daf8678ae5f08c93bbe70792f90cd88e4649 (patch)
tree749eaafc9b4fd5347acd5116b4ae81719162ec74 /drivers/scsi/csiostor/csio_hw.h
parentca4fb89a3d714a770e9c73c649da830f3f4a5326 (diff)
downloadlinux-44f4daf8678ae5f08c93bbe70792f90cd88e4649.tar.xz
scsi: csiostor: Fix wrong return value in csio_hw_prep_fw()
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: f40e74ffa3de ("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>
Diffstat (limited to 'drivers/scsi/csiostor/csio_hw.h')
0 files changed, 0 insertions, 0 deletions