scsi: qla4xxx: check return code of qla4xxx_copy_from_fwddb_param
authorYueHaibing <yuehaibing@huawei.com>
Thu, 20 Dec 2018 03:16:07 +0000 (11:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:06:59 +0000 (10:06 +0100)
commit73d21cdbe2c2ce8e78a6ca31a4df08377a118661
tree4fc802f65966013183fd2f1ea8366633838f18a1
parentef5cb2ef9d046369e6c79c33c923afc7abd14cc4
scsi: qla4xxx: check return code of qla4xxx_copy_from_fwddb_param

[ Upstream commit 72b4a0465f995175a2e22cf4a636bf781f1f28a7 ]

The return code should be check while qla4xxx_copy_from_fwddb_param fails.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/qla4xxx/ql4_os.c