From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22995C433DF for ; Thu, 16 Jul 2020 08:08:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DF86020657 for ; Thu, 16 Jul 2020 08:08:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Ww4sQ5wR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726769AbgGPII0 (ORCPT ); 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)