diff options
author | Alexander Potapenko <glider@google.com> | 2023-04-13 15:12:23 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-19 01:30:10 +0200 |
commit | d905ae2b0f7eaf8fb37febfe4833ccf3f8c1c27a (patch) | |
tree | a631e3fab4646d3e6a0e45051e6b6ae9b9306dd7 /mm/vmscan.c | |
parent | mm: kmsan: apply __must_check to non-void functions (diff) | |
download | linux-d905ae2b0f7eaf8fb37febfe4833ccf3f8c1c27a.tar.xz linux-d905ae2b0f7eaf8fb37febfe4833ccf3f8c1c27a.zip |
mm: apply __must_check to vmap_pages_range_noflush()
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.
Link: https://lkml.kernel.org/r/20230413131223.4135168-4-glider@google.com
Signed-off-by: Alexander Potapenko <glider@google.com>
Reported-by: Dipanjan Das <mail.dipanjan.das@gmail.com>
Link: https://lore.kernel.org/linux-mm/CANX2M5ZRrRA64k0hOif02TjmY9kbbO2aCBPyq79es34RXZ=cAw@mail.gmail.com/
Reviewed-by: Marco Elver <elver@google.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Uladzislau Rezki (Sony) <urezki@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions