Skip to content

rapidio: convert to pin_user_pages(), plus a small fix

John Hubbard linux-media lkml stable 1 version Applied

Status from this message: [merged] rapidio-convert-get_user_pages-pin_user_pages.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2rapidio: fix an error in get_user_pages_fast() error handlingdrivers/rapidio/devices/rio_mport_cdev.c+5 -01 replyApplied
2/2rapidio: convert get_user_pages() --> pin_user_pages()drivers/rapidio/devices/rio_mport_cdev.c+5 -80 repliesApplied

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] rapidio: convert to pin_user_pages(), plus a small fix

While converting rapidio from get_user_pages() to pin_user_pages(), I noticed a small problem in the error handling, so that is fixed first. As such, the fix has -stable on CC, and can be separately applied.

Note that I have only compile-tested these patches, although that does also include cross-compiling for half a dozen arches.

John Hubbard (2):
rapidio: fix an error in get_user_pages_fast() error handling
rapidio: convert get_user_pages() --> pin_user_pages()

 drivers/rapidio/devices/rio_mport_cdev.c | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
Cc Matt Porter <[email protected]>
Cc Alexandre Bounine <[email protected]>
Cc Sumit Semwal <[email protected]>
Cc Dan Carpenter <[email protected]>
Cc Andrew Morton <[email protected]>

John Hubbard (2):
rapidio: fix an error in get_user_pages_fast() error handling
rapidio: convert get_user_pages() --> pin_user_pages()

 drivers/rapidio/devices/rio_mport_cdev.c | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

base-commit: 5a9ffb954a3933d7867f4341684a23e008d6839b

Signature · 1 line
2.26.2