diff mbox series

[01/12] qedf: Change MSI-X load error message.

Message ID 20190422054501.3224-2-skashyap@marvell.com (mailing list archive)
State Mainlined
Commit 078d71995703c8d0f55bba181a7497fd684704a4
Headers show
Series qedf: Changes to log messages | expand

Commit Message

Saurav Kashyap April 22, 2019, 5:44 a.m. UTC
From: Chad Dupuis <cdupuis@marvell.com>

- Change the message to display load failure.

Signed-off-by: Chad Dupuis <cdupuis@marvell.com>
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
---
 drivers/scsi/qedf/qedf_main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c
index 84834d4..ffaf8f9 100644
--- a/drivers/scsi/qedf/qedf_main.c
+++ b/drivers/scsi/qedf/qedf_main.c
@@ -2275,7 +2275,8 @@  static int qedf_setup_int(struct qedf_ctx *qedf)
 	    QEDF_SIMD_HANDLER_NUM, qedf_simd_int_handler);
 	qedf->int_info.used_cnt = 1;
 
-	QEDF_ERR(&qedf->dbg_ctx, "Only MSI-X supported. Failing probe.\n");
+	QEDF_ERR(&qedf->dbg_ctx,
+		 "Cannot load driver due to a lack of MSI-X vectors.\n");
 	return -EINVAL;
 }