Skip to contentSkip to conversation

ixgbe:Fix function comments for the function ixgbe_setup_tx_resources

PATCH New Nicholas Krause 1 participant 1 message Jul 1, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ixgbe:Fix function comments for the function ixgbe_setup_tx_resources

This makes the function comments for the function
ixgbe_setup_tx_resources properly state that the
only error code returned for this function is the
error code -ENOMEM.

---
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +1 -1
index 9aa6104..0ee64958 100644
@@ -5389,7 +5389,7 @@ static int ixgbe_sw_init(struct ixgbe_adapter *adapter)
  * ixgbe_setup_tx_resources - allocate Tx resources (Descriptors)
  * @tx_ring:    tx descriptor ring (for a specific queue) to setup
  *
- * Return 0 on success, negative on failure
+ * Return 0 on success, -ENOMEM on failure
  **/
 int ixgbe_setup_tx_resources(struct ixgbe_ring *tx_ring)
 {
Signature · 1 line
2.1.4