mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-18 11:54:37 +08:00
net: atl1c: Fix a function name in print messages
Use dma_map_single() instead of pci_map_single(), because the pci function wrappers are not called here. Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
064d0171d7
commit
8d04c7b964
@ -1847,7 +1847,7 @@ static int atl1c_alloc_rx_buffer(struct atl1c_adapter *adapter, u32 queue,
|
||||
buffer_info->skb = NULL;
|
||||
buffer_info->length = 0;
|
||||
ATL1C_SET_BUFFER_STATE(buffer_info, ATL1C_BUFFER_FREE);
|
||||
netif_warn(adapter, rx_err, adapter->netdev, "RX pci_map_single failed");
|
||||
netif_warn(adapter, rx_err, adapter->netdev, "RX dma_map_single failed");
|
||||
break;
|
||||
}
|
||||
buffer_info->dma = mapping;
|
||||
|
Loading…
Reference in New Issue
Block a user