Skip to content

Commit

Permalink
scsi: qedf: If qed fails to enable MSI-X fail PCI probe
Browse files Browse the repository at this point in the history
Signed-off-by: Chad Dupuis <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
  • Loading branch information
Chad Dupuis authored and martinkpetersen committed May 8, 2018
1 parent 65b7bec commit 96673e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/scsi/qedf/qedf_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 96673e1

Please sign in to comment.