ixgbe:Fix function comments for the function ixgbe_setup_tx_resources
Subsystems (2)
PATCH 1/1 ixgbe:Fix function comments for the function ixgbe_setup_tx_resources
This makes the function comments for the functionixgbe_setup_tx_resources properly state that the
only error code returned for this function is the
error code -ENOMEM.
Signed-off-by Nicholas Krause <[email protected]>
--- 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
@@ -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