OpenCloudOS-Kernel/drivers/gpu/drm/via
John Hubbard 6f553ce498 drivers/gpu/drm/via: convert put_page() to put_user_page*()
For pages that were retained via get_user_pages*(), release those pages
via the new put_user_page*() routines, instead of via put_page() or
release_pages().

This is part a tree-wide conversion, as described in fc1d8e7cca ("mm:
introduce put_user_page*(), placeholder versions").

Also reverse the order of a comparison, in order to placate checkpatch.pl.

Link: http://lkml.kernel.org/r/20190724044537.10458-3-jhubbard@nvidia.com
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-09-24 15:54:08 -07:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
via_3d_reg.h
via_dma.c drm/via: drop use of drmP.h 2019-07-25 17:35:20 +02:00
via_dmablit.c drivers/gpu/drm/via: convert put_page() to put_user_page*() 2019-09-24 15:54:08 -07:00
via_dmablit.h drm/via: fixed coding style issues, simplified return 2010-08-02 10:17:23 +10:00
via_drv.c drm/via: drop use of drmP.h 2019-07-25 17:35:20 +02:00
via_drv.h drm/via: make via_drv.h self-contained 2019-07-25 17:35:20 +02:00
via_irq.c drm/via: drop use of drmP.h 2019-07-25 17:35:20 +02:00
via_map.c drm/via: drop use of drmP.h 2019-07-25 17:35:20 +02:00
via_mm.c drm/via: drop use of drmP.h 2019-07-25 17:35:20 +02:00
via_verifier.c drm/via: drop use of drmP.h 2019-07-25 17:35:20 +02:00
via_verifier.h drm/via: fixed coding style issues, simplified return 2010-08-02 10:17:23 +10:00
via_video.c drm/via: drop use of drmP.h 2019-07-25 17:35:20 +02:00