Revision 0255004d2a8eb1575e1b9f9fabe0715a7a44288c authored by Alexander Potapenko on 13 April 2023, 12:20:33 UTC, committed by Alexander Potapenko on 17 April 2023, 07:52:33 UTC
To prevent errors when vmap_pages_range_noflush() or
__vmap_pages_range_noflush() silently fail (see the link below for an
example), annotate them with __must_check so that the callers do not
unconditionally assume the mapping succeeded.

Reported-by: Dipanjan Das <mail.dipanjan.das@gmail.com>
Link: https://lore.kernel.org/linux-mm/CANX2M5ZRrRA64k0hOif02TjmY9kbbO2aCBPyq79es34RXZ=cAw@mail.gmail.com/
Signed-off-by: Alexander Potapenko <glider@google.com>
1 parent 803cc04
History
File Mode Size
include
Kconfig -rw-r--r-- 1.3 KB
Makefile -rw-r--r-- 412 bytes
common.c -rw-r--r-- 6.0 KB
common.h -rw-r--r-- 403 bytes
dc21285-timer.c -rw-r--r-- 3.2 KB
dc21285.c -rw-r--r-- 8.5 KB
dma-isa.c -rw-r--r-- 5.2 KB
ebsa285-pci.c -rw-r--r-- 1.1 KB
ebsa285.c -rw-r--r-- 2.6 KB
isa-irq.c -rw-r--r-- 4.1 KB
isa-rtc.c -rw-r--r-- 1.2 KB
isa-timer.c -rw-r--r-- 855 bytes
isa.c -rw-r--r-- 1.8 KB
netwinder-hw.c -rw-r--r-- 14.1 KB
netwinder-pci.c -rw-r--r-- 1.3 KB

back to top