diff options
author | 2022-03-22 14:42:30 -0700 | |
---|---|---|
committer | 2022-03-22 15:57:05 -0700 | |
commit | 88a359125a2b8f2437f09ab3b1af4815c89690d4 (patch) | |
tree | 218a2d20e8454ed6ebe2f9fdf5f6f532ac3d332f /mm/vmalloc.c | |
parent | mm/mmap: return 1 from stack_guard_gap __setup() handler (diff) | |
download | linux-rng-88a359125a2b8f2437f09ab3b1af4815c89690d4.tar.xz linux-rng-88a359125a2b8f2437f09ab3b1af4815c89690d4.zip |
mm/memory.c: use helper function range_in_vma()
Use helper function range_in_vma() to check if address, address + size are
within the vma range. Minor readability improvement.
Link: https://lkml.kernel.org/r/20220219021441.29173-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions