Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1555389ybh; Mon, 20 Jul 2020 00:57:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJb53HMGFzQiJJADiuqs+4ciUAe4Af5YLlg/G6IIIOZ4Y/TfAiqqNubymzxngCgCFU4WD1 X-Received: by 2002:a05:6402:ca3:: with SMTP id cn3mr21168559edb.64.1595231833762; Mon, 20 Jul 2020 00:57:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595231833; cv=none; d=google.com; s=arc-20160816; b=GJXULfUKya/QUR2N+AZzSG4EqQ6RKUaKtMQ4Gq7T/SccsN9vY0cV88kD0yADpW1njG hwvNjFxEkbvO+FPLg7HHKdG/NTnfiRJD/smjc3hdAxVH16xBUI1LzZsSf3VBVG84cNt/ zDZhFccdqULNGINUCVyn/SJlzhcNNwcIcQsqG5dDgzWQwIhxeVLRY6qzBbfdb8J4RCwv oVYXwPtmrBfqShEERpLdDtZD0WDNK9HXsCvnCE+6E16f5kbrS+mMCYFCW5jACi073F1Z a6lFOtRjNfhA+9viS2Q2HIGY+pCHat+tJ4yBvi/T00lZ/PdI2zrmSA7fNeL3ydMrByUh WYBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=oDhv+OZlJWPJ93VJmBQ4e00yQV/kyUtYvEmAWiIA5EU=; b=HnVvRmfche+GoCNVsmQBOze5Q9wmQ+PtmEhCycRfZpGWqO7Lz1hGgukwsaWDuLHOH4 CiEoZjjUGNpU1NrPxEtmpVWFPQ6YiQXPHG+FwdK12OhGTQwcWHsq0LYFo4ykXXmK3g7D 1BT+BYdBY10x1QxQmCg26b+j4uK7fJBY43+KviZBYxHmdKmJdZ9RBO3ebZn+iRjkcrGW YxGpXMsDMAZEAleGmV+j8sDESt93jDRU3akw0LU7roVso6IAYNp75joYBYn3O2kiKHIQ oFg7mGxxXnjN8zo72+M7ETOGF1x9uURFWiFk0pBMk/OrXjArpRYJsv9n3HuG3TD2YAYc f1Hw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k8si9421969ejs.735.2020.07.20.00.56.51; Mon, 20 Jul 2020 00:57: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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728207AbgGTHxx (ORCPT + 99 others); Mon, 20 Jul 2020 03:53:53 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:41298 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728179AbgGTHxw (ORCPT ); Mon, 20 Jul 2020 03:53:52 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from eli@mellanox.com) with SMTP; 20 Jul 2020 10:53:45 +0300 Received: from nps-server-21.mtl.labs.mlnx (nps-server-21.mtl.labs.mlnx [10.237.240.120]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 06K7rjgR008217; Mon, 20 Jul 2020 10:53:45 +0300 Received: from nps-server-21.mtl.labs.mlnx (localhost [127.0.0.1]) by nps-server-21.mtl.labs.mlnx (8.14.7/8.14.7) with ESMTP id 06K7EY4r032191; Mon, 20 Jul 2020 10:14:34 +0300 Received: (from eli@localhost) by nps-server-21.mtl.labs.mlnx (8.14.7/8.14.7/Submit) id 06K7EYKw032190; Mon, 20 Jul 2020 10:14:34 +0300 From: Eli Cohen To: mst@redhat.com, jasowang@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Cc: shahafs@mellanox.com, saeedm@mellanox.com, parav@mellanox.com, Eli Cohen Subject: [PATCH V2 vhost next 05/10] vhost: Fix documentation Date: Mon, 20 Jul 2020 10:14:11 +0300 Message-Id: <20200720071416.32112-6-eli@mellanox.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200720071416.32112-1-eli@mellanox.com> References: <20200720071416.32112-1-eli@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix documentation to match actual function prototypes. Reviewed-by: Parav Pandit Signed-off-by: Eli Cohen --- 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) -- 2.26.0