linux-stable/drivers
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
..
accessibility
acpi libnvdimm for 5.4 2019-09-21 10:55:29 -07:00
amba ARM updates for 5.4-rc1: 2019-09-22 09:39:09 -07:00
android
ata
atm
auxdisplay
base
bcma
block
bluetooth
bus ARM: SoC: late updates for v5.4 2019-09-20 15:53:02 -07:00
cdrom
char
clk Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
clocksource Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
connector
counter
cpufreq
cpuidle
crypto mm: introduce page_size() 2019-09-24 15:54:08 -07:00
dax
dca
devfreq
dio
dma Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
dma-buf
edac ARM updates for 5.4-rc1: 2019-09-22 09:39:09 -07:00
eisa
extcon
firewire
firmware firmware: bcm47xx_nvram: _really_ correct size_t printf format 2019-09-22 11:31:15 -07:00
fpga
fsi
gnss
gpio
gpu drivers/gpu/drm/via: convert put_page() to put_user_page*() 2019-09-24 15:54:08 -07:00
greybus
hid
hsi HSI changes for the 5.4 series 2019-09-22 12:02:21 -07:00
hv
hwmon Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
hwspinlock
hwtracing
i2c
i3c
ide
idle
iio
infiniband mm/gup: add make_dirty arg to put_user_pages_dirty_lock() 2019-09-24 15:54:08 -07:00
input
interconnect
iommu
ipack
irqchip Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
isdn
leds
lightnvm
macintosh
mailbox
mcb
md - crypto and DM crypt advances that allow the crypto API to reclaim 2019-09-21 10:40:37 -07:00
media
memory
memstick
message
mfd Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
misc hmm related patches for 5.4 2019-09-21 10:07:42 -07:00
mmc
mtd Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
mux
net RDMA subsystem updates for 5.4 2019-09-21 10:26:24 -07:00
nfc
ntb
nubus
nvdimm libnvdimm for 5.4 2019-09-21 10:55:29 -07:00
nvme
nvmem
of
opp
oprofile
parisc
parport
pci
pcmcia
perf
phy power supply and reset changes for the v5.4 series 2019-09-22 12:04:59 -07:00
pinctrl
platform
pnp
power power supply and reset changes for the v5.4 series 2019-09-22 12:04:59 -07:00
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc remoteproc updates for v5.4 2019-09-22 10:55:08 -07:00
reset
rpmsg
rtc RTC for 5.4 2019-09-22 11:05:43 -07:00
s390
sbus
scsi SCSI misc on 20190919 2019-09-21 10:50:15 -07:00
sfi
sh
siox
slimbus
soc
soundwire soundwire updates for v5.4-rc1 2019-09-22 10:52:23 -07:00
spi
spmi
ssb
staging mm: introduce page_size() 2019-09-24 15:54:08 -07:00
target mm: introduce page_size() 2019-09-24 15:54:08 -07:00
tc
tee
thermal
thunderbolt
tty
uio
usb Modules updates for v5.4 2019-09-22 10:34:46 -07:00
vfio mm: introduce page_shift() 2019-09-24 15:54:08 -07:00
vhost
video Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile