diff options
author | John Hubbard <jhubbard@nvidia.com> | 2019-09-24 01:35:07 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-25 01:54:08 +0300 |
commit | 6f553ce498a72d91c1c9361fd49bcf07e17c9703 (patch) | |
tree | 2387c5b11f0a1ff268731bfa88ad392e73924659 /net | |
parent | 2d15eb31b50a1b93927bdb7cc5d9960b90f7c1e4 (diff) | |
download | linux-6f553ce498a72d91c1c9361fd49bcf07e17c9703.tar.xz |
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 fc1d8e7cca2d ("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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions