mirror of https://gitee.com/openkylin/linux.git
scsi: qedf: If qed fails to enable MSI-X fail PCI probe
Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
65b7beca42
commit
96673e1e22
|
@ -2134,7 +2134,8 @@ static int qedf_setup_int(struct qedf_ctx *qedf)
|
|||
QEDF_SIMD_HANDLER_NUM, qedf_simd_int_handler);
|
||||
qedf->int_info.used_cnt = 1;
|
||||
|
||||
return 0;
|
||||
QEDF_ERR(&qedf->dbg_ctx, "Only MSI-X supported. Failing probe.\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
/* Main function for libfc frame reception */
|
||||
|
|
Loading…
Reference in New Issue