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
Kconfig -rw-r--r-- 2.0 KB
Makefile -rw-r--r-- 669 bytes
generic.h -rw-r--r-- 1.0 KB
headsmp.S -rw-r--r-- 978 bytes
hotplug.c -rw-r--r-- 1.9 KB
misc_regs.h -rw-r--r-- 399 bytes
pl080.c -rw-r--r-- 1.6 KB
pl080.h -rw-r--r-- 460 bytes
platsmp.c -rw-r--r-- 3.3 KB
restart.c -rw-r--r-- 857 bytes
spear.h -rw-r--r-- 3.0 KB
spear1310.c -rw-r--r-- 1.5 KB
spear1340.c -rw-r--r-- 841 bytes
spear13xx.c -rw-r--r-- 3.0 KB
spear300.c -rw-r--r-- 4.2 KB
spear310.c -rw-r--r-- 5.5 KB
spear320.c -rw-r--r-- 5.7 KB
spear3xx.c -rw-r--r-- 2.3 KB
spear6xx.c -rw-r--r-- 8.5 KB
time.c -rw-r--r-- 5.6 KB

back to top