Skip to content

Commit 96673e1

Browse files
Chad Dupuismartinkpetersen
authored andcommitted
scsi: qedf: If qed fails to enable MSI-X fail PCI probe
Signed-off-by: Chad Dupuis <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 65b7bec commit 96673e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/scsi/qedf/qedf_main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2134,7 +2134,8 @@ static int qedf_setup_int(struct qedf_ctx *qedf)
21342134
QEDF_SIMD_HANDLER_NUM, qedf_simd_int_handler);
21352135
qedf->int_info.used_cnt = 1;
21362136

2137-
return 0;
2137+
QEDF_ERR(&qedf->dbg_ctx, "Only MSI-X supported. Failing probe.\n");
2138+
return -EINVAL;
21382139
}
21392140

21402141
/* Main function for libfc frame reception */

0 commit comments

Comments
 (0)