qlcnic: enhance MSIX allocation failure log message
authorManish Chopra <manish.chopra@qlogic.com>
Sat, 9 Feb 2013 09:29:54 +0000 (09:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Feb 2013 07:04:13 +0000 (02:04 -0500)
Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c

index 30aa1f295224a4c20d951d1c6132b99b101c71d9..b745194391a111e3409de180f46e08d66c09ceb2 100644 (file)
@@ -455,12 +455,13 @@ int qlcnic_enable_msix(struct qlcnic_adapter *adapter, u32 num_msix)
 
                        if (num_msix) {
                                dev_info(&pdev->dev,
-                                        "Trying %d MSI-X interrupt vectors\n",
+                                        "Trying to allocate %d MSI-X interrupt vectors\n",
                                         num_msix);
                                goto enable_msix;
                        }
                } else {
-                       dev_info(&pdev->dev, "Failed to get %d vectors\n",
+                       dev_info(&pdev->dev,
+                                "Unable to allocate %d MSI-X interrupt vectors\n",
                                 num_msix);
                }
        }