summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2017-02-06 08:03:37 +0100
committerAlex Williamson <alex.williamson@redhat.com>2017-02-22 19:40:15 +0100
commitd9d84780f17cd9e25ddde10eb40357b96b7d6874 (patch)
tree3b4335c15164062ec172ab06ad65b877f4441baf /drivers
parentvfio: Replace module request with softdep (diff)
downloadlinux-d9d84780f17cd9e25ddde10eb40357b96b7d6874.tar.xz
linux-d9d84780f17cd9e25ddde10eb40357b96b7d6874.zip
vfio: fix a typo in comment of function vfio_pin_pages
Correct the description that 'unpinned' -> 'pinned'. Signed-off-by: Changbin Du <changbin.du@intel.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/vfio/vfio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/vfio.c b/drivers/vfio/vfio.c
index 57052b68f15a..609f4f982c74 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