OSDN Git Service

scsi: qedf: Change MSI-X load error message
authorChad Dupuis <cdupuis@marvell.com>
Mon, 22 Apr 2019 05:44:50 +0000 (22:44 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 29 Apr 2019 12:34:09 +0000 (08:34 -0400)
Change the message to display load failure.

Signed-off-by: Chad Dupuis <cdupuis@marvell.com>
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_main.c

index 84834d4..ffaf8f9 100644 (file)
@@ -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;
 }