Messages in this thread Patch in this message | | | From | Cai Huoqing <> | Subject | [PATCH 2/2] net: fddi: skfp: Fix a function name in comments | Date | Sat, 25 Sep 2021 20:52:08 +0800 |
| |
Use dma_map_single() instead of pci_map_single(), because only dma_map_single() is called here.
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> --- drivers/net/fddi/skfp/skfddi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/fddi/skfp/skfddi.c b/drivers/net/fddi/skfp/skfddi.c index c5cb421f9890..cc5126ea7ef5 100644 --- a/drivers/net/fddi/skfp/skfddi.c +++ b/drivers/net/fddi/skfp/skfddi.c @@ -1012,7 +1012,7 @@ static int skfp_siocdevprivate(struct net_device *dev, struct ifreq *rq, void __ * is contained in a single physically contiguous buffer * in which the virtual address of the start of packet * (skb->data) can be converted to a physical address - * by using pci_map_single(). + * by using dma_map_single(). * * We have an internal queue for packets we can not send * immediately. Packets in this queue can be given to the -- 2.25.1
| |