]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: qla2xxx: Check secondary image if reading the primary image fails
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:02:00 +0000 (20:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2019 19:08:27 +0000 (20:08 +0100)
commit974552b2045a20a6e67765cc16937970b81dbccf
tree0d530bf43faa583f8eb4325335b38bb43fbcfecc
parent9161282efe6752a90b22a7f5f6e6c9c5e5b5e974
scsi: qla2xxx: Check secondary image if reading the primary image fails

[ Upstream commit 0597fe601a3a7d103c35b922046251906e0349b3 ]

This patch fixes several Coverity complaints about reading data that has
not been initialized.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/qla2xxx/qla_init.c