summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorCai Huoqing <caihuoqing@baidu.com>2021-09-25 16:40:10 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-27 14:44:32 +0300
commit8d04c7b964246a51960c2acc669b545dd926e81e (patch)
tree12050825c5a0ad3569f7c05f8112ee0f14e6311b /drivers/net
parent064d0171d7ee5005020da631135d4d6dc4b72695 (diff)
downloadlinux-8d04c7b964246a51960c2acc669b545dd926e81e.tar.xz
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/atheros/atl1c/atl1c_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
index 20c032ab631b..1c258e4ddc96 100644
--- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
+++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
@@ -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;