Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1039341ybh; Thu, 16 Jul 2020 01:09:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxojxEM00SLBnnh4K+TR1hzRDxQOuH3DsdEHzMXz/j4AkHPRpl825hidr+6jmJx4e4FgBLN X-Received: by 2002:a17:907:4003:: with SMTP id nj3mr2548139ejb.278.1594886953428; Thu, 16 Jul 2020 01:09:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594886953; cv=none; d=google.com; s=arc-20160816; b=JimNz4F+s2jMT2ZdxK4jg23GuBibh6uS3L/TWRsJgcN8KEwBkmosINaVrEjSgkKOfX QFHMIw/bfPDOcdJl/I94mJl1apNZeg7Cl+aI6bIcQhAV0aSYyMeezy3cTbfuOQFTH8ZO NK62a6FLpbFcajWTS66cnHnnD6nfbM+XJdJd4Tbcv/SCRGoEtTb9l9Ta6fxIdF4RN35F RdTPOSt9a0+g4v4nVHMtgDsNoV2ercG3L/GiitxKjuIrt2v4cVxLZuPbTm9PU2QUW15Z 3uhDHXAgSEQYGHuzNGY1d3yP2wiyaPNYazV7ldv0vd6KqstzIfQQuaBL/I6CY5hjFR5b Pr1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=12EL5OlXM9HJM66KrSYypgv9SsHcbwNkSyH2aF1+AdQ=; b=d5uuZRkIwpiDjIo/Apx2MNvi3Qpozz5J1h6a1pbvYGbHXSwfxzlmxycjuAygq9D5XR pZx1ip5RXIfrV6bXY1oWv8fdfuTfCZmKtm9LCIR38Hh9qC2Xj02r36AEMIDcJwYBhXVc l2+pYTqMqnDk5v1wT0grXL6IwgeC6Sf+RA8Rjnzk/Da2e1lIOKfhYkl+hDzLkq1fQryW wa+gBRpW+rDCakHEeHx3wgvCz2TX2nd1x1xypx8tLK11OXZS5NJUJ1lhf+ENhpqpAmlW bMUnKHhYEKPzQmS6rIEyqFgxIYCN0LkIlE5JkYRGwAZ8JvGQFwYo8kYDAnX4Vd/xhVsZ dbag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ww4sQ5wR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r16si2853467edo.473.2020.07.16.01.08.48; Thu, 16 Jul 2020 01:09:13 -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=@redhat.com header.s=mimecast20190719 header.b=Ww4sQ5wR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726351AbgGPII0 (ORCPT + 99 others); Thu, 16 Jul 2020 04:08:26 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:42550 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725897AbgGPII0 (ORCPT ); Thu, 16 Jul 2020 04:08:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594886904; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=12EL5OlXM9HJM66KrSYypgv9SsHcbwNkSyH2aF1+AdQ=; b=Ww4sQ5wRHC30bRofUEl3gI0B+QaCuhi1S7dWgpY5HbJ2CCcGV1dWLB/OKmsv77XVq+vDwT TAhLZ1YNmZzTYv88o8etvD+gNrJMdo7cE7QIzcY37Csd8pAUsaf0VJZwpZ484W2eHlg4V3 77iK6d0+MVHb/dfFBg1jV/R+Lnypvyw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-444-vPQfkOkMNjmaqS8PcapOzg-1; Thu, 16 Jul 2020 04:08:23 -0400 X-MC-Unique: vPQfkOkMNjmaqS8PcapOzg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DA15B1B18BC1; Thu, 16 Jul 2020 08:08:21 +0000 (UTC) Received: from [10.72.12.131] (ovpn-12-131.pek2.redhat.com [10.72.12.131]) by smtp.corp.redhat.com (Postfix) with ESMTP id DA3E4710A0; Thu, 16 Jul 2020 08:08:14 +0000 (UTC) Subject: Re: [PATCH vhost next 05/10] vhost: Fix documentation To: Eli Cohen , mst@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Cc: shahafs@mellanox.com, saeedm@mellanox.com, Parav Pandit References: <20200716072327.5359-1-eli@mellanox.com> <20200716072327.5359-6-eli@mellanox.com> From: Jason Wang Message-ID: Date: Thu, 16 Jul 2020 16:08:13 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200716072327.5359-6-eli@mellanox.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/7/16 下午3:23, Eli Cohen wrote: > Fix documentation to match actual function prototypes. > > Reviewed-by: Parav Pandit > Signed-off-by: Eli Cohen Acked-by: Jason Wang > --- > drivers/vhost/iotlb.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/vhost/iotlb.c b/drivers/vhost/iotlb.c > index 1f0ca6e44410..0d4213a54a88 100644 > --- a/drivers/vhost/iotlb.c > +++ b/drivers/vhost/iotlb.c > @@ -149,7 +149,7 @@ EXPORT_SYMBOL_GPL(vhost_iotlb_free); > * vhost_iotlb_itree_first - return the first overlapped range > * @iotlb: the IOTLB > * @start: start of IOVA range > - * @end: end of IOVA range > + * @last: last byte in IOVA range > */ > struct vhost_iotlb_map * > vhost_iotlb_itree_first(struct vhost_iotlb *iotlb, u64 start, u64 last) > @@ -162,7 +162,7 @@ EXPORT_SYMBOL_GPL(vhost_iotlb_itree_first); > * vhost_iotlb_itree_first - return the next overlapped range > * @iotlb: the IOTLB > * @start: start of IOVA range > - * @end: end of IOVA range > + * @last: last byte IOVA range > */ > struct vhost_iotlb_map * > vhost_iotlb_itree_next(struct vhost_iotlb_map *map, u64 start, u64 last)