[PATCH v2 0/4] staging: kpc2000: kpc_dma: Few clean up and Convert to pin_user_pages()

Souptick Joarder jrdr.linux at gmail.com
Tue Jun 30 07:52:15 UTC 2020


This series contains few clean up, minor bug fixes and
Convert get_user_pages() to pin_user_pages().

I'm compile tested this, but unable to run-time test,
so any testing help is much appriciated.

v2:
	Address Dan's review comments to return -ERRNO for partially
	mapped pages and changed the other patches in series accordingly.
	Minor update in change logs.

Cc: John Hubbard <jhubbard at nvidia.com>
Cc: Bharath Vedartham <linux.bhar at gmail.com>
Cc: Dan Carpenter <dan.carpenter at oracle.com>


Souptick Joarder (4):
  staging: kpc2000: kpc_dma: Unpin partial pinned pages
  staging: kpc2000: kpc_dma: Convert set_page_dirty() -->     
    set_page_dirty_lock()
  staging: kpc2000: kpc_dma: Convert get_user_pages() -->     
    pin_user_pages()
  staging: kpc2000: kpc_dma: Remove additional goto statements

 drivers/staging/kpc2000/kpc_dma/fileops.c | 38 ++++++++++++++++---------------
 1 file changed, 20 insertions(+), 18 deletions(-)

-- 
1.9.1



More information about the devel mailing list