]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arch/arc/kernel/troubleshoot: use vma_lookup() instead of find_vma()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 1 Mar 2021 19:25:27 +0000 (14:25 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 6 May 2021 17:25:45 +0000 (13:25 -0400)
commit9128c5438c6be78146cdadd031e267dcf1fb51ea
tree87c3e448fae6c56175e3709952dabfd0e6fcdeaf
parentcf5d86c195f5a27c2d8f246f5af102218503aa96
arch/arc/kernel/troubleshoot: use vma_lookup() instead of find_vma()

Use vma_lookup() to find the VMA at a specific address.  As vma_lookup()
will return NULL if the address is not within any VMA, the start address
no longer needs to be validated.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
arch/arc/kernel/troubleshoot.c