scsi: qla2xxx: Fix error return code in qla82xx_write_flash_dword()
stable inclusion from stable-5.10.40 commit 8170c2039cc168348e2b481dec137b5cab83177a bugzilla: 51882 CVE: NA -------------------------------- [ Upstream commit 5cb289bf ] 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: a9083016 ("[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> Signed-off-by:
Chen Jun <chenjun102@huawei.com> Acked-by:
Weilong Chen <chenweilong@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment