vfio: fix a typo in comment of function vfio_pin_pages
authorChangbin Du <changbin.du@intel.com>
Mon, 6 Feb 2017 07:03:37 +0000 (15:03 +0800)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 22 Feb 2017 18:40:15 +0000 (11:40 -0700)
Correct the description that 'unpinned' -> 'pinned'.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio.c

index 57052b6..609f4f9 100644 (file)
@@ -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