Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp454662ybh; Mon, 20 Jul 2020 22:36:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2leCdR9a73dOz+I07IQcr8aOvt8o1jYzUgZWQlhCtmoQSTeb+OxTnX8T/9mFO4wsmtfNC X-Received: by 2002:a05:6402:363:: with SMTP id s3mr23665673edw.238.1595309789098; Mon, 20 Jul 2020 22:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595309789; cv=none; d=google.com; s=arc-20160816; b=DZfPLAogUK+a7ldSL4P3ZHI4LMK8KAFfZCkiiNjuTNZu1hKTjMHT3pGRgZgLvHnngw pDg1Y8F1XCA40z8PsgNPd/9YXY72JXpmqlvJUPF6eVuXcuEsKfTqnFIE2d5VRz9fZ1G3 O4NWxnmKkTLVJIG2hTIEfPWq8kvprRX32ARd0x71/0GeWU03syrjkmRULSyS5hO+04st X6fkVtp6L71pdaeLg5PEP3wK+NutiHyu8p2E0rs1pF2GsHO876w960zzk2YE4g1FLK81 rhPTpM3yjMXnMpounk6N0uB+CfsL9dCkjY5QUygbU2yod7BrT4lM+ENs11ciaiRDLfNv BC7g== 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=TZjxOuuUV4o3h7MOrSFtriNZrlOkqkWFhvhjNDp5Ej0=; b=WA3oob+qguNDqUTMEr6+uw9yMLmDyR/M2Av1sYsg5NZoOU61T8VR62ndD7c0huF3ud cekA6mqJELwYsU/rvbWQUTXzaJoLBKvfHDcMJr8DvHx1+2WTqTicZp3zYtI/J/tSxnwV m9dPG97szNuS1ModAxs/MzTEAYAudV7FfKojvwVTnru4sUH1CY0k1Cjf/TuVkY5ysUai Fn0yvW5s1lK5nAq/jcDGcqMl9+1qeUCl+bUaY2wYNcoqvNcaxdhtnOBnJxb9G8ge39nw 2LVbEGGbsB/rY/KQATYJihgWzXJIEZ971QxOJF987nBhoDYoR9H6dRz56BfTajiR6C3X mCeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=emDhVk99; 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 bw25si2533827ejb.10.2020.07.20.22.36.06; Mon, 20 Jul 2020 22:36:29 -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=emDhVk99; 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 S1727090AbgGUFfT (ORCPT + 99 others); Tue, 21 Jul 2020 01:35:19 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:41822 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725774AbgGUFfR (ORCPT ); Tue, 21 Jul 2020 01:35:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595309716; 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=TZjxOuuUV4o3h7MOrSFtriNZrlOkqkWFhvhjNDp5Ej0=; b=emDhVk99XuFuBdHpfbhJNXwFGgQUb+JtDg+IBLK/a6xEiZ4s4JodzPrHUKccgwYCTwX/9Z wTTEaLLpt04HE5EeU66bGyUccR4N0MLXC+herWp4cRGm30JJeDW+KdC507I7PGY4uxdluI 6za8RHUB/MtWbz3EysOMysCXfEdPop0= 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-93-GDSThcsLNlyMS6kolGBV8w-1; Tue, 21 Jul 2020 01:35:12 -0400 X-MC-Unique: GDSThcsLNlyMS6kolGBV8w-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 731B858; Tue, 21 Jul 2020 05:35:11 +0000 (UTC) Received: from [10.72.12.202] (ovpn-12-202.pek2.redhat.com [10.72.12.202]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3981260BF1; Tue, 21 Jul 2020 05:35:04 +0000 (UTC) Subject: Re: [PATCH V2 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@mellanox.com References: <20200720071416.32112-1-eli@mellanox.com> <20200720071416.32112-6-eli@mellanox.com> From: Jason Wang Message-ID: <7c323cac-fa03-bc46-1c41-ee7d37f350cf@redhat.com> Date: Tue, 21 Jul 2020 13:35:03 +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: <20200720071416.32112-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.12 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/7/20 下午3:14, 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)