]> git.baikalelectronics.ru Git - kernel.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)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:08 +0000 (21:34 -0400)
commit33455e2a77be580e7cbc399c453a7a5b94f14c34
treec9ee9435f6d6a8eecf5c815252e7a62d61962bdf
parent3de9b5299a9fc337226deccb49e77a317e1e3f20
scsi: qla2xxx: Check secondary image if reading the primary image fails

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>
drivers/scsi/qla2xxx/qla_init.c