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 30aa1f2..b745194 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);
                }
        }