Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2383057pxb; Sat, 25 Sep 2021 05:55:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy16VDf2SMDAPYE/N5MrCocdQ3OOZddOeLNxw85BadC1ldPAOAoHTZjRO6dydfNJ0nFirpT X-Received: by 2002:a05:6402:399:: with SMTP id o25mr11400176edv.118.1632574529318; Sat, 25 Sep 2021 05:55:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632574529; cv=none; d=google.com; s=arc-20160816; b=SeBjlMHs7ZzsV39q33HAqgChnkLd/34z6D5aomYhlk0z5AjWJOUd9ttKzoQWB35voi fV9gtmoRBwxtiRsy+m16fHT36eafxmE6KdMeRAC6OfkEGaKFbXlpojyViYSVgCNrxY4c 9UX44/W984xD1mUghoNIhqB2RFq/CLx9rfLD7KnUo0mcR3F+cr118EypnLMDY9fPMDiW hBTZpnDwX+iTgQEeV/+ij0ISwJEIHG3S2lqqCE165nbyZhyvZ/3Yy6sK7OC4KByt92No vyiqy9KkK4hLxx/mi3WBcNNplmKlsGOi/XryLHBxVHeKt5uUU4hIK/cR44zr4YlhNAlr tUaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=RQDZ1FXxxZux8HDQxmrGm8F5A548uzrjUBKmJybpKMA=; b=nyDRN4/jq7dhxxEVavwSfdfGgrt3SHq9u7NH9mhHP+e4FU77PG98dNxERqjnygeqg/ Ghfa0JzBzdeEfztKjHYF1lFj66BY1zEgkKqoMCN0dbZ5XtHEZgeztYhxEyr8mAIush5Y lWPuoAl1XReVBDzzbgcB7dNl5EvfrCo/z1k5UfVNW0emikwztP2nbNdJn9L5NMalOGX0 RRc8C6orS8kKQVJYB94lTcMOP1CN3j7CPQMwh4QqXw1Vsc6HYLhk/9caLVD7gAXGezCc 8R/OjxNUMkXrLz5X0KE1W56vrZ8IPTeAP1L6woGGsM1hLxRACHWhAPikcsFQeiEDhhrD tIOw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 30si13039474ejl.658.2021.09.25.05.55.05; Sat, 25 Sep 2021 05:55:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245133AbhIYMyB (ORCPT + 99 others); Sat, 25 Sep 2021 08:54:01 -0400 Received: from mx24.baidu.com ([111.206.215.185]:44488 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S244836AbhIYMyB (ORCPT ); Sat, 25 Sep 2021 08:54:01 -0400 Received: from BJHW-MAIL-EX04.internal.baidu.com (unknown [10.127.64.14]) by Forcepoint Email with ESMTPS id 0DF67B3AD95A37BB727A; Sat, 25 Sep 2021 20:52:25 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BJHW-MAIL-EX04.internal.baidu.com (10.127.64.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Sat, 25 Sep 2021 20:52:24 +0800 Received: from LAPTOP-UKSR4ENP.internal.baidu.com (172.31.63.8) by BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Sat, 25 Sep 2021 20:52:24 +0800 From: Cai Huoqing To: CC: "Maciej W. Rozycki" , "David S. Miller" , Jakub Kicinski , , Subject: [PATCH 1/2] FDDI: defxx: Fix function names in coments Date: Sat, 25 Sep 2021 20:52:07 +0800 Message-ID: <20210925125209.1700-1-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BJHW-Mail-Ex01.internal.baidu.com (10.127.64.11) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use dma_xxx_xxx() instead of pci_xxx_xxx(), because the pci function wrappers are not called here. Signed-off-by: Cai Huoqing --- drivers/net/fddi/defxx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/fddi/defxx.c b/drivers/net/fddi/defxx.c index 6d1e3f49a3d3..5810e8473789 100644 --- a/drivers/net/fddi/defxx.c +++ b/drivers/net/fddi/defxx.c @@ -1028,7 +1028,7 @@ static void dfx_bus_config_check(DFX_board_t *bp) * or read adapter MAC address * * Assumptions: - * Memory allocated from pci_alloc_consistent() call is physically + * Memory allocated from dma_alloc_coherent() call is physically * contiguous, locked memory. * * Side Effects: @@ -3249,7 +3249,7 @@ static void dfx_rcv_queue_process( * is contained in a single physically contiguous buffer * in which the virtual address of the start of packet * (skb->data) can be converted to a physical address - * by using pci_map_single(). + * by using dma_map_single(). * * Since the adapter architecture requires a three byte * packet request header to prepend the start of packet, @@ -3402,7 +3402,7 @@ static netdev_tx_t dfx_xmt_queue_pkt(struct sk_buff *skb, * skb->data. * 6. The physical address of the start of packet * can be determined from the virtual address - * by using pci_map_single() and is only 32-bits + * by using dma_map_single() and is only 32-bits * wide. */ -- 2.25.1