All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] FDDI: defxx: Fix function names in coments
@ 2021-09-25 12:52 Cai Huoqing
  2021-09-25 12:52 ` [PATCH 2/2] net: fddi: skfp: Fix a function name in comments Cai Huoqing
  2021-09-27 11:50 ` [PATCH 1/2] FDDI: defxx: Fix function names in coments patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Cai Huoqing @ 2021-09-25 12:52 UTC (permalink / raw)
  To: caihuoqing
  Cc: Maciej W. Rozycki, David S. Miller, Jakub Kicinski, netdev, linux-kernel

Use dma_xxx_xxx() instead of pci_xxx_xxx(),
because the pci function wrappers are not called here.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
---
 drivers/net/fddi/defxx.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/fddi/defxx.c b/drivers/net/fddi/defxx.c
index 6d1e3f49a3d3..5810e8473789 100644
--- a/drivers/net/fddi/defxx.c
+++ b/drivers/net/fddi/defxx.c
@@ -1028,7 +1028,7 @@ static void dfx_bus_config_check(DFX_board_t *bp)
  *						or read adapter MAC address
  *
  * Assumptions:
- *   Memory allocated from pci_alloc_consistent() call is physically
+ *   Memory allocated from dma_alloc_coherent() call is physically
  *   contiguous, locked memory.
  *
  * Side Effects:
@@ -3249,7 +3249,7 @@ static void dfx_rcv_queue_process(
  *   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().
  *
  *   Since the adapter architecture requires a three byte
  *   packet request header to prepend the start of packet,
@@ -3402,7 +3402,7 @@ static netdev_tx_t dfx_xmt_queue_pkt(struct sk_buff *skb,
 	 *			skb->data.
 	 *		 6. The physical address of the start of packet
 	 *			can be determined from the virtual address
-	 *			by using pci_map_single() and is only 32-bits
+	 *			by using dma_map_single() and is only 32-bits
 	 *			wide.
 	 */
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] net: fddi: skfp: Fix a function name in comments
  2021-09-25 12:52 [PATCH 1/2] FDDI: defxx: Fix function names in coments Cai Huoqing
@ 2021-09-25 12:52 ` Cai Huoqing
  2021-09-27 11:50 ` [PATCH 1/2] FDDI: defxx: Fix function names in coments patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Cai Huoqing @ 2021-09-25 12:52 UTC (permalink / raw)
  To: caihuoqing
  Cc: Maciej W. Rozycki, David S. Miller, Jakub Kicinski, netdev, linux-kernel

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] FDDI: defxx: Fix function names in coments
  2021-09-25 12:52 [PATCH 1/2] FDDI: defxx: Fix function names in coments Cai Huoqing
  2021-09-25 12:52 ` [PATCH 2/2] net: fddi: skfp: Fix a function name in comments Cai Huoqing
@ 2021-09-27 11:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-09-27 11:50 UTC (permalink / raw)
  To: Cai Huoqing; +Cc: macro, davem, kuba, netdev, linux-kernel

Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Sat, 25 Sep 2021 20:52:07 +0800 you wrote:
> Use dma_xxx_xxx() instead of pci_xxx_xxx(),
> because the pci function wrappers are not called here.
> 
> Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
> ---
>  drivers/net/fddi/defxx.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Here is the summary with links:
  - [1/2] FDDI: defxx: Fix function names in coments
    https://git.kernel.org/netdev/net-next/c/b38bcb41f144
  - [2/2] net: fddi: skfp: Fix a function name in comments
    https://git.kernel.org/netdev/net-next/c/064d0171d7ee

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-27 11:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-25 12:52 [PATCH 1/2] FDDI: defxx: Fix function names in coments Cai Huoqing
2021-09-25 12:52 ` [PATCH 2/2] net: fddi: skfp: Fix a function name in comments Cai Huoqing
2021-09-27 11:50 ` [PATCH 1/2] FDDI: defxx: Fix function names in coments patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.