[PATCH] qlcnic: update outdated comment

Kexin Sun posted 1 patch 3 weeks, 6 days ago
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] qlcnic: update outdated comment
Posted by Kexin Sun 3 weeks, 6 days ago
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>
---
 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
index 3d0b5cd978cb..d7c8fadb49de 100644
--- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
+++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
@@ -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;
-- 
2.25.1