diff mbox series

[v2,1/4] net: atl1c: Fix a function name in print messages

Message ID 20210925134014.251-1-caihuoqing@baidu.com (mailing list archive)
State Accepted
Commit 8d04c7b964246a51960c2acc669b545dd926e81e
Delegated to: Netdev Maintainers
Headers show
Series [v2,1/4] net: atl1c: Fix a function name in print messages | expand

Checks

Context Check Description
netdev/cover_letter warning Series does not have a cover letter
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Guessed tree name to be net-next
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cc_maintainers warning 4 maintainers not CCed: tglx@linutronix.de liew.s.piaw@gmail.com shenyang39@huawei.com gatis@mikrotik.com
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 29 this patch: 29
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 29 this patch: 29
netdev/header_inline success Link

Commit Message

Cai,Huoqing Sept. 25, 2021, 1:40 p.m. UTC
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>
---
 drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 27, 2021, 11:50 a.m. UTC | #1
Hello:

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

On Sat, 25 Sep 2021 21:40:10 +0800 you wrote:
> 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>
> ---
>  drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - [v2,1/4] net: atl1c: Fix a function name in print messages
    https://git.kernel.org/netdev/net-next/c/8d04c7b96424
  - [v2,2/4] net: broadcom: Fix a function name in comments
    https://git.kernel.org/netdev/net-next/c/8b58cba44e6b
  - [v2,3/4] net: sis: Fix a function name in comments
    https://git.kernel.org/netdev/net-next/c/e7e9d2088d9c
  - [v2,4/4] net: smsc: Fix function names in print messages and comments
    https://git.kernel.org/netdev/net-next/c/005552854fe6

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

Patch

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;