Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp2228275ybm; Sun, 31 May 2020 12:58:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtag/Hjw/hAy1HzJwo+NEO0VRAqEHA69k2yWufGw+vPiyn1viACFQWXvyr8IMbgjuec1aD X-Received: by 2002:a50:ee93:: with SMTP id f19mr17852128edr.256.1590955103209; Sun, 31 May 2020 12:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590955103; cv=none; d=google.com; s=arc-20160816; b=eoEPKPBUzUJUrqvwkiCTiZW61KDYWrXhYNIcLBQk5JQG+yXQYQGIhvC1iBFkcWuuNG FQ8XebMiWv5TDLdbLWQ9yFpnOiPTkff+0QgsJ3OGVFss6WPHXl+XjY3nBVYVVHt1rp88 bBVTFVpF5qNJurw/7oRoiyHmP9ChwT5+FTCqjdiwL+Ii+VNYQ43YJ37+qY5W5fYgRuej o1lAMP4H2vN3qmF1uPQzCrSbv4nt1wdMzc+S5Wml1u17JOpQ7lm50DyeGDMaiHC5s+GF QD6Dfc+5bu8fxAMeRa+hOEZS4hlTdDJszEgZjcVBSDJ7ZA/Fql+k3fBkZKw0jSvTgVsW TN4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=p16Dz6KwMTsKYcEwRz28WdITu61eUhpMtwje0OvV48U=; b=jAYpqdKfIdRRf17jKn9L4oXqgEEplolaTZF02JyS99kM31mVhK+N0XumaZ1VfqWT/T YhAuXEcxNwAxPlqO72P+IfHFUP/9FjdWHZJe6anyh+5A1erkAq54fTfYFpulUYd3r6aJ HpJf/4VTycWhlGFxxXEb2xDhrmvNexL26b+ZOvzQBnDrLkFrxhGPQfcMzc4VXlvY4u78 HBMx3AXof+o2Zlu7RErqSym+DaCzOL7asWscov/eOBFEWR7kASUHFbR+8ecXb4JYJnj3 hX9C1znFy4cLfHvrYtdwrFMXIrDIWg7f/YHrwXzGQHkT6pBFm3XVJb/SIrBsgXF8VTiP fUfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kudzu-us.20150623.gappssmtp.com header.s=20150623 header.b=MTo6rL+D; 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 l64si9211892ede.102.2020.05.31.12.58.00; Sun, 31 May 2020 12:58:23 -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; dkim=pass header.i=@kudzu-us.20150623.gappssmtp.com header.s=20150623 header.b=MTo6rL+D; 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 S1728338AbgEaTzp (ORCPT + 99 others); Sun, 31 May 2020 15:55:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725991AbgEaTzo (ORCPT ); Sun, 31 May 2020 15:55:44 -0400 Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FBF7C061A0E for ; Sun, 31 May 2020 12:55:43 -0700 (PDT) Received: by mail-qt1-x842.google.com with SMTP id e16so6220121qtg.0 for ; Sun, 31 May 2020 12:55:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kudzu-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=p16Dz6KwMTsKYcEwRz28WdITu61eUhpMtwje0OvV48U=; b=MTo6rL+DjSq4xwf5QfiHiyhNkSz+60L+w2e8681uN5dTNBa6p3dVzP/auVs29Vaki9 QgzU3iGkdMALrkbzXBvWM1+t7gjle2jUaIclhn2KOrv1RuMmZdTfUcH14RhwjJFfEt0E IzE0X4j5OrkNC8smn/4cnS9hiTuq/cDQqFE5I1H/yef1hYzqAv4pzxlWrfZ75b4VX0Yk nhfWz13hd7IDAscN3p+TJ1p+DHSUZulJierPTmMY5UwnSyynZ/2xtyntwSQbisqIkJ04 ziQq66zoJ8uIHahqR17lmtLpYf7+sWbGaJJJNYMhId+aHkO8J4DEO/jZo38tCtlBh125 6QJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=p16Dz6KwMTsKYcEwRz28WdITu61eUhpMtwje0OvV48U=; b=OeX+JTfRf3rcKyRmCr6mwUKUL/KLbHn75V3FiTpvRWvN9BqSMQkuCfYMrE++okK1k7 hUJE3leDmb2aP6nKnqGhux+pn5oDZBWfNdBOdg28f3TtXk9AZ9o2pOIuimd+WpOgX150 hKRGxlmS4xFNgVb8p5Sdep1TnLQ9ncPov1ZN9YG5+8GlwyLZPG3PWcJu1C4GH7tSpO7r Gfn0IoVraa+4zxylKt6jcujDg7jv/yJTg5ISSgoG5Esm7eqtB8qzRjH/PmgaSfapNuh9 kVsaVys+IUqcwz/91QmMn5E+4v2JK0Hv19Dy4EfTrr31MAL3NYyi9J2f7CG12ZHqZyZy eUYg== X-Gm-Message-State: AOAM5302UD4dAEi5TKy2C+iz2AExMwI15OoFguYMABtb3fmRaAAzt9sr rx6twAYBpD8ML/TTXCIcp6VrgA== X-Received: by 2002:ac8:2f7a:: with SMTP id k55mr18787986qta.34.1590954941399; Sun, 31 May 2020 12:55:41 -0700 (PDT) Received: from kudzu.us ([2605:a601:a664:2e00:a5da:931a:7f23:1d4d]) by smtp.gmail.com with ESMTPSA id s4sm12308438qkh.120.2020.05.31.12.55.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 12:55:41 -0700 (PDT) Date: Sun, 31 May 2020 15:55:39 -0400 From: Jon Mason To: Wesley Sheng Cc: dave.jiang@intel.com, allenbh@gmail.com, linux-ntb@googlegroups.com, linux-kernel@vger.kernel.org, wesleyshenggit@sina.com Subject: Re: [PATCH] NTB: correct ntb_peer_spad_addr and ntb_peer_spad_read comment typos Message-ID: <20200531195539.GD4620@kudzu.us> References: <20200526075943.20756-1-wesley.sheng@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200526075943.20756-1-wesley.sheng@amd.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 26, 2020 at 03:59:43PM +0800, Wesley Sheng wrote: > The comment for ntb_peer_spad_addr and ntb_peer_spad_read > incorrectly referred to peer doorbell register and local > scratchpad register. > > Signed-off-by: Wesley Sheng Pulled into the ntb branch Thanks, Jon > --- > include/linux/ntb.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/linux/ntb.h b/include/linux/ntb.h > index 8c13538aeffe..b9b0d805d0f9 100644 > --- a/include/linux/ntb.h > +++ b/include/linux/ntb.h > @@ -1351,7 +1351,7 @@ static inline int ntb_spad_write(struct ntb_dev *ntb, int sidx, u32 val) > * @sidx: Scratchpad index. > * @spad_addr: OUT - The address of the peer scratchpad register. > * > - * Return the address of the peer doorbell register. This may be used, for > + * Return the address of the peer scratchpad register. This may be used, for > * example, by drivers that offload memory copy operations to a dma engine. > * > * Return: Zero on success, otherwise an error number. > @@ -1373,7 +1373,7 @@ static inline int ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx, > * > * Read the peer scratchpad register, and return the value. > * > - * Return: The value of the local scratchpad register. > + * Return: The value of the peer scratchpad register. > */ > static inline u32 ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx) > { > -- > 2.16.2 >