Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2414467pxb; Sat, 25 Sep 2021 06:43:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+VpWLJgNiCcTlb5LrjUKgJ9N93TwPhE3/lhIIBYzj5LyBgRV1NZUoYhyCrMo6xXzuaFHx X-Received: by 2002:aa7:de14:: with SMTP id h20mr11684743edv.24.1632577383998; Sat, 25 Sep 2021 06:43:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632577383; cv=none; d=google.com; s=arc-20160816; b=UIKqBRvnpqaB9Jed0mtaCw5MeYGbEgqB5nc846XZX+ZIO+Vmyx8nHPpJ14mPGCitzB 8v1whMVNTkwuD5+spusAvtKQTw54WKzQA9bNklqzZvfURYyB40Ubu5E4D/cXHUu4Jx9K e5+fzuP4bOINaWc46JF+vOXEJfaRYPhs+a8yDazBhfsIXt7Xjkwfu3v971TKuWSifGT7 H2wAR3VPMdDj2oM+Ijkt26BiRa9FquTIWhSPxkiJRe+EAVwhfLSq7KRAlRITSvlsEU8Z JV93j6O2ybB/Ak6MdNPOdTB0Yl8gk9gkVzE30yhlZEmQoU0mCP0jARX3IiNvo37XmhSE 2foQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=MdfLgI0PevC6mWObq8opKN1iDPQTVbhqfkMaKMtKJyE=; b=hwX8Qjoxoa/DIlBan4mrjeT1ZWK/NpTe+VciyYtqiPBSt7PI9BPfl6ibwp19PfRFvF 1bx2tJnNyWz4yiOucLMR/8/3o7jOoAotma5QV/c5sSLpgiWB5BIp4+n/5ZxJATTaigFd vHJ0GWKsIzzcWqB0LRFdANtTGsYlzVgLZTvWtpahrvBKGk5Xpd3IS1XLqGR/RhPKbe4C 1GCHt5WRLGIiY49b26XqgrvvO2ln1lzb3mOwAsUhL3zLWCF8b+Af3B9TRECQF2HJg5mL W6rq7yTHAEWroh9zztzrCDdiGLp4PsGZVRZni9lMEqlogW7gNxwHhNobCl2vBOi0XxZV 7yMg== 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 v8si16602268ede.567.2021.09.25.06.42.40; Sat, 25 Sep 2021 06:43:03 -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 S1343575AbhIYNmI (ORCPT + 99 others); Sat, 25 Sep 2021 09:42:08 -0400 Received: from mx24.baidu.com ([111.206.215.185]:50340 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1343522AbhIYNmG (ORCPT ); Sat, 25 Sep 2021 09:42:06 -0400 Received: from BC-Mail-Ex06.internal.baidu.com (unknown [172.31.51.46]) by Forcepoint Email with ESMTPS id 6C9AE24560DEDF3B7309; Sat, 25 Sep 2021 21:40:29 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex06.internal.baidu.com (172.31.51.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.12; Sat, 25 Sep 2021 21:40:29 +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 21:40:28 +0800 From: Cai Huoqing To: CC: Chris Snook , "David S. Miller" , Jakub Kicinski , Michael Chan , Francois Romieu , "Steve Glendinning" , , Subject: [PATCH v2 3/4] net: sis: Fix a function name in comments Date: Sat, 25 Sep 2021 21:40:12 +0800 Message-ID: <20210925134014.251-3-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210925134014.251-1-caihuoqing@baidu.com> References: <20210925134014.251-1-caihuoqing@baidu.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BC-Mail-Ex31.internal.baidu.com (172.31.51.25) 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_alloc_coherent() instead of pci_alloc_consistent(), because only dma_alloc_coherent() is called here. Signed-off-by: Cai Huoqing --- v1->v2: Fix dma_alloc_consistent with dma_alloc_coherent. drivers/net/ethernet/sis/sis190.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/sis/sis190.c b/drivers/net/ethernet/sis/sis190.c index 3d1a18a01ce5..7e107407476a 100644 --- a/drivers/net/ethernet/sis/sis190.c +++ b/drivers/net/ethernet/sis/sis190.c @@ -1070,7 +1070,7 @@ static int sis190_open(struct net_device *dev) /* * Rx and Tx descriptors need 256 bytes alignment. - * pci_alloc_consistent() guarantees a stronger alignment. + * dma_alloc_coherent() guarantees a stronger alignment. */ tp->TxDescRing = dma_alloc_coherent(&pdev->dev, TX_RING_BYTES, &tp->tx_dma, GFP_KERNEL); -- 2.25.1