Skip to contentSkip to conversation

qlcnic: update outdated comment

PATCH Applied Kexin Sun 2 participants 2 messages Mar 11 – Mar 13

Subsystems (3)
lore
Share & tools
lore

Kexin Sun

author
#0 lore raw

PATCH 1/1 qlcnic: update outdated comment

The function pci_unmap_page() was a compatibility wrapper around dma_unmap_page(), and was removed by commit 7968778914e5 ("PCI:
Remove the deprecated pci-dma-compat.h API"). Update the comment accordingly.

Assisted-by unnamed:deepseek-v3.2 coccinelle
---
 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h +1 -1
index 3d0b5cd978cb..d7c8fadb49de 100644
@@ -354,7 +354,7 @@ struct qlcnic_skb_frag {
 
 /*
  * There will be one qlcnic_buffer per skb packet.    These will be
- * used to save the dma info for pci_unmap_page()
+ * used to save the dma info for dma_unmap_page()
  */
 struct qlcnic_cmd_buffer {
 	struct sk_buff *skb;
Signature · 1 line
2.25.1
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Wed, 11 Mar 2026 21:30:11 +0800 you wrote:

The function pci_unmap_page() was a compatibility wrapper around dma_unmap_page(), and was removed by commit 7968778914e5 ("PCI:
Remove the deprecated pci-dma-compat.h API"). Update the comment accordingly.

Assisted-by unnamed:deepseek-v3.2 coccinelle

[...]

Here is the summary with links:
- qlcnic: update outdated comment

    https://git.kernel.org/netdev/net-next/c/886d56099d94

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html