staging: vc04_services: Convert get_user_pages*() --> pin_user_pages*()
authorSouptick Joarder <jrdr.linux@gmail.com>
Tue, 2 Jun 2020 18:54:17 +0000 (00:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jun 2020 07:53:21 +0000 (09:53 +0200)
commitaeb4ac7916ce6120e764303b50917c7a2b8b0eba
treebce4a1d564014df2559335a3cf7d63c95f61debd
parentc5a3b1db6af24b9c9a3ea0b027a1d71c171b545d
staging: vc04_services: Convert get_user_pages*() --> pin_user_pages*()

In 2019, we introduced pin_user_pages*() and now we are converting
get_user_pages*() to the new API as appropriate. [1] & [2] could
be referred for more information.

[1] Documentation/core-api/pin_user_pages.rst

[2] "Explicit pinning of user-space pages":
        https://lwn.net/Articles/807108/

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Link: https://lore.kernel.org/r/1591124057-27696-1-git-send-email-jrdr.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c