From: Kexin Sun Date: Wed, 11 Mar 2026 13:30:11 +0000 (+0800) Subject: qlcnic: update outdated comment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=886d56099d947443936298a8f98533768c5ad44b;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Kexin Sun Link: https://patch.msgid.link/20260311133012.519-1-kexinsun@smail.nju.edu.cn Signed-off-by: Jakub Kicinski --- diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h b/drivers/net/ethernet/qlogic/qlcnic/qlcnic.h index 3d0b5cd978cbb..d7c8fadb49de1 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;