]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
qlcnic: update outdated comment
authorKexin Sun <kexinsun@smail.nju.edu.cn>
Wed, 11 Mar 2026 13:30:11 +0000 (21:30 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Mar 2026 02:27:43 +0000 (19:27 -0700)
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
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
Link: https://patch.msgid.link/20260311133012.519-1-kexinsun@smail.nju.edu.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h

index 3d0b5cd978cbb015059c090360529a15212aa23b..d7c8fadb49de1f5c88ad9fbc35ce6e9ba277cca1 100644 (file)
@@ -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;