Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1554746ybh; Mon, 20 Jul 2020 00:55:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJze3LotlZ0cOFws/90HcrrBNzGXvurrM/CB6IC5MXUI+WOpzy0+bxj5L7fBIJgslZWMBXbc X-Received: by 2002:a17:906:fb99:: with SMTP id lr25mr19612838ejb.49.1595231744711; Mon, 20 Jul 2020 00:55:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595231744; cv=none; d=google.com; s=arc-20160816; b=pq8/RIbTQBIgn/R94Rpp7Xb/yrB3/fGDOJPtBM/x1kKuS6XmrZNMsbXycykYlQ7xUz DIOvkXl3QkwxSw59505+yvY9ArxK643uB3SlOuIpKTurtxfDJW/oIkRqgSO/lhm9cW4P 8I6QUQgnI/iGulxZQ3qV6L5R1nUSxorkVNAi3bxqGySjFYCu/qUsimDix/6b/bY/y7UT Q7FjVouY1LJBCCZp2Y2uTtwm2+RgtJk6omsGSMu5bvkM5rBZ4e197aTXI7nPQSPUAXEH uLQiyt6Aj2UwZqcsOJfbJR97bLO54eGzeuWM4VznB2qyT/OFU69cvbDEZPuPWZM4Nmz+ 8e3A== 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=LjNNcinH/ZfTzVBWAs21I8YGPzEej0yw7HRmU7UKnEGmiRjyfAW/RuNaio6AGNXJRy Jo5EI08ROA4F/RPXUIVZedDe3s+lmpfbN/z6QY19jp5UK5lDiTue9wOGdAnZgc8WswiB RB7MpiziQW+Lh58XMhvByS2/ZV9BG/GBHpa5r32+eWJ+aUH+EnaH0ebETvzJsY4UvBKn UvCtzm3cTxLKJPCqy9FSLztoO8tY8SW/mvfE4YznGSAjzqUriQbJ83h5Ylgwf9Hru2ZN FE882OcAOddbppyq5lVUKbJOlRIdL94I7mpn0BNWykXx9Xsti03SkAKE/YfGSWMBLU2z YaMg== 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 z13si9781210edr.106.2020.07.20.00.55.22; Mon, 20 Jul 2020 00:55:44 -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 S1728270AbgGTHyH (ORCPT + 99 others); Mon, 20 Jul 2020 03:54:07 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:41307 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728181AbgGTHxw (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 06K7rjgT008217; 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 06K6srvQ031184; Mon, 20 Jul 2020 09:54:53 +0300 Received: (from eli@localhost) by nps-server-21.mtl.labs.mlnx (8.14.7/8.14.7/Submit) id 06K6sr5P031183; Mon, 20 Jul 2020 09:54:53 +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 09:54:38 +0300 Message-Id: <20200720065443.31112-6-eli@mellanox.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200720065443.31112-1-eli@mellanox.com> References: <20200720065443.31112-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