Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1574398 > unrolled thread

[PATCH] vfio: fix a typo in comment of function vfio_pin_pages

Started bychangbin.du@intel.com
First post2017-02-06 08:10 +0100
Last post2017-02-06 08:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] vfio: fix a typo in comment of function vfio_pin_pages changbin.du@intel.com - 2017-02-06 08:10 +0100

#1574398 — [PATCH] vfio: fix a typo in comment of function vfio_pin_pages

Fromchangbin.du@intel.com
Date2017-02-06 08:10 +0100
Subject[PATCH] vfio: fix a typo in comment of function vfio_pin_pages
Message-ID<t7LB0-1HH-11@gated-at.bofh.it>
From: Changbin Du <changbin.du@intel.com>

Correct the description that 'unpinned' -> 'pinned'.

Signed-off-by: Changbin Du <changbin.du@intel.com>
---
 drivers/vfio/vfio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/vfio/vfio.c b/drivers/vfio/vfio.c
index 9901c46..c162a7e 100644
--- a/drivers/vfio/vfio.c
+++ b/drivers/vfio/vfio.c
@@ -1917,7 +1917,7 @@ EXPORT_SYMBOL(vfio_set_irqs_validate_and_prepare);
  * Pin a set of guest PFNs and return their associated host PFNs for local
  * domain only.
  * @dev [in]     : device
- * @user_pfn [in]: array of user/guest PFNs to be unpinned.
+ * @user_pfn [in]: array of user/guest PFNs to be pinned.
  * @npage [in]   : count of elements in user_pfn array.  This count should not
  *		   be greater VFIO_PIN_PAGES_MAX_ENTRIES.
  * @prot [in]    : protection flags
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web