Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2382216pxb; Sat, 25 Sep 2021 05:53:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdq2NU9mON+9v/tMU8AzEAQuvpbh+F7l1aSoALJ5PM5olZ4TX3DIi5DhQTArSvuYBDUfo1 X-Received: by 2002:a17:906:640f:: with SMTP id d15mr17462947ejm.419.1632574422272; Sat, 25 Sep 2021 05:53:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632574422; cv=none; d=google.com; s=arc-20160816; b=zZ0n/nvIBM7FKmiEuvSLFQp/FdOwhD9mU9a3E+47GoIgZEN9R8b7sETLmlws2O8bl7 ZDN6GBbf72t+Fvne6D7KMRh+LkIrK/apdanXHB2rSff7vSjx8lwaXBYr1Esc/hq5SFVQ WuOpz1lzosqCNTAoioO8f5T6vASrVaBwJF1Tqbqvxkv8Jjf1ojJ9uig6oxsWgBOFh6Lq vckymk5HQJdp+NqeGzH1Y3TRnlvcganuskM2jZTaQQjjWJdrNgs0CgXVRFrmMmwOy1yv DsmfZEqYvZWR7pSwOEC/DuWgxxtLrteImgGWjcgFm9u6qF/r6O8SetzlLGTbk/RtRZ9O V6sQ== 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=VlSUbrMU76U73q0Ds8uyT4h8LEGDJaYugG2nKl66wBs=; b=LKzPE28xtC1+PhtO9HhSkVPTpU0WcMpvdB0dwjiZ+/Cjkp+AVNWxRuUnsIigVhOIme yt8Nj//ixo/H4N3E8TtSd1AabSYsp90jns53+KZx61dUIoNPZb8L3GY4kTj7QJw9nLDK AqHbYZiAB+z8A1QIBViEMTcSOcMUKzcGNZbWcmwkMz138zaQ6oxhjxlBga7Ed3vJw5OZ 6QHSp2RXJX/RmCT2YwMoosUcqME2TpmEy2DicHH4GR6yBVA4QsT+1PTl6jEvp+i9YQ0e Rt0p6hFyLDUM3BJfTCAfoGMaRB11efq/+4yH0lErokYlba2rwWaWbIfJeB5hc77aZ9f8 vKXg== 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 g26si174580edr.225.2021.09.25.05.53.19; Sat, 25 Sep 2021 05:53:42 -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 S245465AbhIYMwi (ORCPT + 99 others); Sat, 25 Sep 2021 08:52:38 -0400 Received: from mx22.baidu.com ([220.181.50.185]:43518 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S245445AbhIYMwh (ORCPT ); Sat, 25 Sep 2021 08:52:37 -0400 Received: from BC-Mail-Ex03.internal.baidu.com (unknown [172.31.51.43]) by Forcepoint Email with ESMTPS id 93E75E8EDA540F55C2AC; Sat, 25 Sep 2021 20:51:01 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex03.internal.baidu.com (172.31.51.43) 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 20:51:01 +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:51:00 +0800 From: Cai Huoqing To: CC: Chris Snook , "David S. Miller" , Jakub Kicinski , Michael Chan , Francois Romieu , "Steve Glendinning" , , Subject: [PATCH 3/4] net: sis: Fix a function name in comments Date: Sat, 25 Sep 2021 20:50:40 +0800 Message-ID: <20210925125042.1629-3-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210925125042.1629-1-caihuoqing@baidu.com> References: <20210925125042.1629-1-caihuoqing@baidu.com> 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_alloc_coherent() instead of pci_alloc_consistent(), because only dma_alloc_coherent() is called here. Signed-off-by: Cai Huoqing --- 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_consistent() guarantees a stronger alignment. */ tp->TxDescRing = dma_alloc_coherent(&pdev->dev, TX_RING_BYTES, &tp->tx_dma, GFP_KERNEL); -- 2.25.1