Skip to content

Commit

Permalink
qlcnic: enhance MSIX allocation failure log message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Manish Chopra authored and David S. Miller committed Feb 11, 2013
1 parent 9a05f92 commit dce056c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit dce056c

Please sign in to comment.