Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2393383pxb; Sat, 25 Sep 2021 06:09:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwytHisjALKyYTybx6qIYP/6K4EehJsRFNkWXQ8bsKd+gDYIrBzHzs3/0Au3yICfyrr9T4r X-Received: by 2002:a17:906:5d6:: with SMTP id t22mr16734477ejt.98.1632575374641; Sat, 25 Sep 2021 06:09:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632575374; cv=none; d=google.com; s=arc-20160816; b=OYve4l9FjyD507FdTHehPi3yTOjekY6XpNLy5nE4OPkBVgsRHl/fDyzNjDMv9Dlnz8 lUBX+9ldSM4SHCUpz6NWCG2Vb1v64vVYS1Z7glzm2v4fnztIitwPGFeSaymD0Mb2MZjg O16LQutuRWmpigGh4z9tHjsG4Fjg7MVSXSbzedO76EM2XHbCP45M3kFH3cs1ypJvHDgA KLMhxdT1ITEFmb6MU7H+qZEfZK7Fb9FiEi1XMR6fOgIpmOXQOSGT9Y/yFUWoTuqwlJcM 57Fm0HjNlxcuigGnuhztYSAtIQqdZriIWkb2sIGGmQjT6wAMMqndEQljMPxKET4WQxei ARMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:content-language:in-reply-to:user-agent :content-transfer-encoding:mime-version:references:message-id:date :subject:from:to; bh=p5sM1KEpcnt4lEsZa+EZm/HukA6Aor2QxAex1j9pbqo=; b=XZaas+nCdnEfgIYcNBQm9p2dSELDE2zLKkhwjeXM2NI7pFToXaUJB54F+HFkLxxwaR b/BgNKVNt/bnM/RVlKqJsf/mXwOAieR6eAJHJ39ZFrYvA8Vfv2nKgZNkxz31Ur/ySSzt OgL72/PMZox+ZdUr3bdoXkgqhEzEhvHR7d+Jc8H/yXggGUNbIe5WsMZcM+QaE9yoAV9L KTnSn93eq2fe4Zf+ZnkVU5auWYTAZMh0NpA1bbQtUlshQxb6fy5jDVvsvFecbp3YDchK /gW+01Jzb7tl+mdNguu6HKxAAQ3kImW+h0ktJWPgzGYsbg9E4SRSvO8HqLXPgGx1gbGJ oo4w== 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 q23si11429129edb.416.2021.09.25.06.09.08; Sat, 25 Sep 2021 06:09:34 -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 S245152AbhIYNJE (ORCPT + 99 others); Sat, 25 Sep 2021 09:09:04 -0400 Received: from ciao.gmane.io ([116.202.254.214]:37126 "EHLO ciao.gmane.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234877AbhIYNJC (ORCPT ); Sat, 25 Sep 2021 09:09:02 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mU7Oo-0008Iy-BP for linux-kernel@vger.kernel.org; Sat, 25 Sep 2021 15:07:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: Christophe JAILLET Subject: Re: [PATCH 3/4] net: sis: Fix a function name in comments Date: Sat, 25 Sep 2021 15:07:22 +0200 Message-ID: <1498cb33-bbd1-ccb7-0ea3-12b319e18dbe@wanadoo.fr> References: <20210925125042.1629-1-caihuoqing@baidu.com> <20210925125042.1629-3-caihuoqing@baidu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: <20210925125042.1629-3-caihuoqing@baidu.com> Content-Language: fr Cc: netdev@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 25/09/2021 à 14:50, Cai Huoqing a écrit : > 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); > Hi, s/consistent/coherent/ CJ