Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp51009ybg; Mon, 27 Jul 2020 23:08:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyy/QZ8cYG3tgH+RxR9GkEGBpNfDei/VLV3T6s211ZPozU9qSwSaULBXbVkKv+SWiWOTDSi X-Received: by 2002:aa7:c2c6:: with SMTP id m6mr9749807edp.118.1595916500747; Mon, 27 Jul 2020 23:08:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595916500; cv=none; d=google.com; s=arc-20160816; b=ghseEXjgGTnEcQxCdMOZWsqrg/k1hc3x5yEC1zbYGjQ+GAeUqSNza0lbojAWeIwP2B 9u9IC3IC6UrJM5Af/998TR0KJD/ULnBclO0FaZcTbgWdRxIjUl+s6EGLxcredmZ1raxU hBxOLFqct3mK4fmaafdB0iEKPuiJ42qcPHI6bUdqmyfA83dVLJ1/OVjNCA2nnX42D0Y1 THgnFivIxzcrnA3mekSb+y5Ygdkm4QC2o4dzKTXkiaxoQ4z46wvqMIu5v8W/Qz54hSKP Cs9tMHMcrXcvzV0IaoSr80pkPmHfTYACPI8PoLG8M1jvWuIiSazdBcqIv7JTIM/mJEDl ZKpA== 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=PhZAKWA+iCoadTqCzGEs9+q1z48nu5Fd6A7Qi8M6ImlHSI7sNfZFIRGZp7yZJKKCsL HO+8DkHJhVVxMFC15HzGjiJvYpxaUa22fTKTtuEaBXFRHEg52K7+3Y2jac2Lw1Ox14l/ 9NSbsh7k4fA5sMeb13NRJYsHRYQUCX2EtESx7xyuE+QJBlshWAq/eFyRqf8tdI0sLTYf xbZT7mSHWJfzPkGG8EOxJ4WnbyYgm1vN7dGWOABUKeSd9Typ6NQAgb6qSydLTEHrT2gC MWXip+ogE9uqPZpAZw0DtKkj5AMU3eYWQpDrAu6K2AYY+M2RGG/EskIR4MnQlwOzWbnf bn/A== 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 n3si7133685eji.720.2020.07.27.23.07.58; Mon, 27 Jul 2020 23:08:20 -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 S1727809AbgG1GGN (ORCPT + 99 others); Tue, 28 Jul 2020 02:06:13 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:34873 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727801AbgG1GGL (ORCPT ); Tue, 28 Jul 2020 02:06:11 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from eli@mellanox.com) with SMTP; 28 Jul 2020 09:06:06 +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 06S666Yu016782; Tue, 28 Jul 2020 09:06:06 +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 06S666Mx004231; Tue, 28 Jul 2020 09:06:06 +0300 Received: (from eli@localhost) by nps-server-21.mtl.labs.mlnx (8.14.7/8.14.7/Submit) id 06S6654E004230; Tue, 28 Jul 2020 09:06:05 +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 V3 vhost next 05/10] vhost: Fix documentation Date: Tue, 28 Jul 2020 09:05:34 +0300 Message-Id: <20200728060539.4163-6-eli@mellanox.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200728060539.4163-1-eli@mellanox.com> References: <20200728060539.4163-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