scsi: qla2xxx: Always check the qla2x00_wait_for_hba_online() return value
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:01:52 +0000 (20:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2019 19:35:24 +0000 (20:35 +0100)
commitc266dfbc95023a7d1fd2ca66d8139f2093472043
tree162ed71e106795121e55b9be9c0e9489149ecc14
parentf7ba4776c74affa8a853e0090b7adb498354eec7
scsi: qla2xxx: Always check the qla2x00_wait_for_hba_online() return value

[ Upstream commit e6803efae5acd109fad9f2f07dab674563441a53 ]

This patch fixes several Coverity complaints about not always checking
the qla2x00_wait_for_hba_online() return value.

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