qlcnic: enhance MSIX allocation failure log message

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>
This commit is contained in:
Manish Chopra
2013-02-09 09:29:54 +00:00
committed by David S. Miller
parent 9a05f92bbb
commit dce056cb21

View File

@@ -455,12 +455,13 @@ int qlcnic_enable_msix(struct qlcnic_adapter *adapter, u32 num_msix)
if (num_msix) { if (num_msix) {
dev_info(&pdev->dev, dev_info(&pdev->dev,
"Trying %d MSI-X interrupt vectors\n", "Trying to allocate %d MSI-X interrupt vectors\n",
num_msix); num_msix);
goto enable_msix; goto enable_msix;
} }
} else { } 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); num_msix);
} }
} }