Skip to contentSkip to conversation

net: ethernet: davinci: Fix build breakage

PATCH Applied Thierry Reding 2 participants 3 messages Jan 21, 2013

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

PATCH 1/1 net: ethernet: davinci: Fix build breakage

The correct name of the transmit DMA channel field in struct emac_priv is txchan, not txch.

---
 drivers/net/ethernet/ti/davinci_emac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/ti/davinci_emac.c +1 -1
index 1c97c81..242ec55 100644
@@ -1102,7 +1102,7 @@ static int emac_dev_xmit(struct sk_buff *skb, struct net_device *ndev)
 	/* If there is no more tx desc left free then we need to
 	 * tell the kernel to stop sending us tx frames.
 	 */
-	if (unlikely(cpdma_check_free_tx_desc(priv->txch)))
+	if (unlikely(cpdma_check_free_tx_desc(priv->txchan)))
 		netif_stop_queue(ndev);
 
 	return NETDEV_TX_OK;
Signature · 1 line
1.8.1.1
maintainer Applied
#1 lore raw

From: Thierry Reding <[email protected]>
Date: Mon, 21 Jan 2013 10:38:39 +0100

Quoted 4 lines

The correct name of the transmit DMA channel field in struct emac_priv is txchan, not txch.

Nothing is more irritating than someone not saying what tree their patch is targetted for. My time is not well used by playing a guessing game about where a patch is supposed to go.

After some futzing around I was able to determine that this patch is needed for net-next only, but please make a specific mention of this next time.

Applied, thanks.

#2 lore raw
Quoted 8 lines · David Miller

From: Thierry Reding <[email protected]>
Date: Mon, 21 Jan 2013 10:38:39 +0100

Quoted 4 lines

The correct name of the transmit DMA channel field in struct emac_priv is txchan, not txch.

Quoted 7 lines

Nothing is more irritating than someone not saying what tree their patch is targetted for. My time is not well used by playing a guessing game about where a patch is supposed to go.

After some futzing around I was able to determine that this patch is needed for net-next only, but please make a specific mention of this next time.

I'm sorry about that. I'll make a mental note to think of it next time.

Thierry