scsi: qedf: Honor qed_ops->common->set_fp_int() return code.
authorChad Dupuis <chad.dupuis@cavium.com>
Wed, 31 May 2017 13:33:50 +0000 (06:33 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 00:48:05 +0000 (20:48 -0400)
commit914fff102e00455bb867871e612b65524839d271
treec485f60fcf6f0685e3a4cd4ecca4f43dd03d97a5
parent12d0b12c57cb7bf0aebf48da79f277330c2552c3
scsi: qedf: Honor qed_ops->common->set_fp_int() return code.

We need to check the return code the set_fp_int() callback in case we were
not allocated any fastpath interrupts or there was an error setting up the
fastpath interrupts from the qed perspective.

Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_main.c