[PATCH RFC 39/77] ixgbevf: Return -ENOSPC when not enough MSI-X vectors available

Alexander Gordeev
2013-10-02T10:48:55Z

drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
index 59a62bb..fa0537a 100644
--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
@@ -1773,7 +1773,7 @@ static int ixgbevf_acquire_msix_vectors(struct ixgbevf_adapter *adapter,
}

if (vectors < vector_threshold)
- err = -ENOMEM;
+ err = -ENOSPC;

if (err) {
dev_err(&adapter->pdev->dev,
--
1.7.7.6