Skip to content

staging: kpc2000: kpc_dma: Few clean up and Convert to pin_user_pages()

Souptick Joarder lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesNew
  2. v24 patches 1 replySuperseded
  3. v14 patches 6 repliesSuperseded

Changes in v3 from the cover letter

	Address review comment to invoke the right goto level when allocation
	failed in patch[4/4].

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4staging: kpc2000: kpc_dma: Unpin partial pinned pagesdrivers/staging/kpc2000/kpc_dma/fileops.c+9 -40 replies
2/4staging: kpc2000: kpc_dma: Convert set_page_dirty() --> set_page_dirty_lock()drivers/staging/kpc2000/kpc_dma/fileops.c+3 -30 replies
3/4staging: kpc2000: kpc_dma: Convert get_user_pages() --> pin_user_pages()drivers/staging/kpc2000/kpc_dma/fileops.c+5 -80 replies
4/4staging: kpc2000: kpc_dma: Remove additional goto statementsdrivers/staging/kpc2000/kpc_dma/fileops.c+13 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

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.

v3:

	Address review comment to invoke the right goto level when allocation
	failed in patch[4/4].
Cc John Hubbard <[email protected]>
Cc Bharath Vedartham <[email protected]>
Cc Dan Carpenter <[email protected]>

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 | 39 +++++++++++++++++--------------
 1 file changed, 21 insertions(+), 18 deletions(-)
Signature · 1 line
1.9.1