Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3309461ybt; Mon, 29 Jun 2020 22:35:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwP0/8FsjnjOZQA0FJZvmY39CQbVUn+8+qkqeVYOMEk+2PCMGjIrI7wsUftNNKT8TgihsNC X-Received: by 2002:a50:b022:: with SMTP id i31mr21589226edd.301.1593495316168; Mon, 29 Jun 2020 22:35:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593495316; cv=none; d=google.com; s=arc-20160816; b=m6zx4kSnT0Psd0xYZdldR/NQ3EAM/462mEXZEm2CVpVTkkYOz3hX+I5V4Qr6anec9J Fx9Ef3DE1Y2eDljp3FT9KYofKtWTXmnx0D68Mo5MmVQR0poQtpjkK0bygTAfO37YNMFg l7L3jVDMrqteE7mjfxFuuhZpnBq5wxj5pB7ffmSLezVIQWk5kFRQ4+gkaoH/2bMcXjJ0 pzaUKqZP+i+QteCDLarsEOr1mM5Y3o9SYykl4cl46s2ACxQi8dUc2rv2mkSS+f4sBTW+ dKZb2VWfkv/2hu3lWLDzOcVEVM/EVdpEZMSrOlzax36jK/4PAkdXgNczvj2HeX3Bu/aw LM4w== 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:to:subject:dkim-signature; bh=pEuLRzXmEdahiAKGpnL+nVeF0sdlBPCkwM2Y/fcvgk0=; b=WGQbgkje046OSiOrHyO3OvyXbxKy7CcS+qW9ej8JMFZ7eekrEGL17MOC7tzpEjCTMh keWuxcB/Q7+baGqT/O5RIo+tDlQS8LWL9HLFqNnSKgxG1h8/9VTBlVplUYaseE/XxPNO fsTdRnCAzJp2GhYqUdJ/m8LEhs4V4U8jxmKqGNukwY6ATgi2KigO6SBaueoNxhlqtlHD futXYr2vED0pnJ3hZk5fMzBZjHLJGCRMHDMF4rP7jaa1/h3hzF6QxS3wtmKVJNp/9w0B e8c5lvelPoQXdsl5UYlEpYGny+XE83GfsZGI+TjIqJ9xVO3S3TkbLkXuG3+CsMRlFb+J rHpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UyTT0PUJ; 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 x15si1082795edj.153.2020.06.29.22.34.53; Mon, 29 Jun 2020 22:35:16 -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=UyTT0PUJ; 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 S1728073AbgF3FdO (ORCPT + 99 others); Tue, 30 Jun 2020 01:33:14 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:43459 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725887AbgF3FdO (ORCPT ); Tue, 30 Jun 2020 01:33:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593495192; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pEuLRzXmEdahiAKGpnL+nVeF0sdlBPCkwM2Y/fcvgk0=; b=UyTT0PUJHVw4TpWPN6mlq4968ndidJjiJDsI00EjasaDhND08SrulHyzsgOnQx5Zz390JB OI/7lzXiKzzw0TpmLVQvA+IaRC4GzALHTSF8XZzD0faTO/2Tg0eq4ImvgL4+EPWhp+mXoh 7uQnCzoX3NPQYwG1wjM8588NyZD+SmU= 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-348-svVRFDr_OByaxAGU_0jUjA-1; Tue, 30 Jun 2020 01:33:10 -0400 X-MC-Unique: svVRFDr_OByaxAGU_0jUjA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8C5121800D42; Tue, 30 Jun 2020 05:33:09 +0000 (UTC) Received: from [10.72.13.159] (ovpn-13-159.pek2.redhat.com [10.72.13.159]) by smtp.corp.redhat.com (Postfix) with ESMTP id EFE2F10013C1; Tue, 30 Jun 2020 05:33:05 +0000 (UTC) Subject: Re: [PATCH] vhost: Fix documentation To: Eli Cohen , linux-kernel@vger.kernel.org, netdev , "Michael S. Tsirkin" References: <20200630052925.GA157062@mtl-vdi-166.wap.labs.mlnx> From: Jason Wang Message-ID: Date: Tue, 30 Jun 2020 13:33:03 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200630052925.GA157062@mtl-vdi-166.wap.labs.mlnx> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/6/30 下午1:29, Eli Cohen wrote: > Fix documentation to match actual function prototypes > > "end" used instead of "last". Fix that. > > Signed-off-by: Eli Cohen > --- Acked-by: Jason Wang Thanks > 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)