[PATCH 0/2] video: fbdev: fix error handling, convert to pin_user_pages*()

John Hubbard jhubbard at nvidia.com
Fri May 22 04:15:04 UTC 2020


Note that I have only compile-tested this series, although that does
also include cross-compiling for a few other arches. I'm hoping that
this posting will lead to some run-time testing.

Also: the proposed fix does not have a "Fixes:" tag, nor does it
Cc stable. That's because the issue has been there since the dawn of
git history for the kernel. If it's gone unnoticed this long, then
there is clearly no need for the relatively fast track of putting it
into stable, IMHO. But please correct me if that's wrong.

Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
Cc: Arnd Bergmann <arnd at arndb.de>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Gustavo A. R. Silva <gustavo at embeddedor.com>
Cc: Jani Nikula <jani.nikula at intel.com>
Cc: dri-devel at lists.freedesktop.org
Cc: linux-fbdev at vger.kernel.org

John Hubbard (2):
  video: fbdev: fix error handling for get_user_pages_fast()
  video: fbdev: convert get_user_pages() --> pin_user_pages()

 drivers/video/fbdev/pvr2fb.c | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

base-commit: 051143e1602d90ea71887d92363edd539d411de5

More information about the dri-devel mailing list