Commit e7e9d208 authored by Cai Huoqing's avatar Cai Huoqing Committed by David S. Miller
Browse files

net: sis: Fix a function name in comments



Use dma_alloc_coherent() instead of pci_alloc_consistent(),
because only dma_alloc_coherent() is called here.

Signed-off-by: default avatarCai Huoqing <caihuoqing@baidu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8b58cba4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1070,7 +1070,7 @@ static int sis190_open(struct net_device *dev)

	/*
	 * Rx and Tx descriptors need 256 bytes alignment.
	 * pci_alloc_consistent() guarantees a stronger alignment.
	 * dma_alloc_coherent() guarantees a stronger alignment.
	 */
	tp->TxDescRing = dma_alloc_coherent(&pdev->dev, TX_RING_BYTES,
					    &tp->tx_dma, GFP_KERNEL);