diff options
author | Liam Howlett <liam.howlett@oracle.com> | 2021-06-28 19:39:08 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-06-29 10:53:51 -0700 |
commit | 7f7020ac0dc9a7a7dfb2237c6e8ed13f40162a6b (patch) | |
tree | 24bc8aebc1a8bfe7a6a4dc85e4c1cad653ea009b /arch/m68k/kernel/sys_m68k.c | |
parent | 900c83f88af06bf0466c28bdde8a2c011b855e44 (diff) |
arch/mips/kernel/traps: 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.
Link: https://lkml.kernel.org/r/20210521174745.2219620-8-Liam.Howlett@Oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Reviewed-by: Laurent Dufour <ldufour@linux.ibm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Acked-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k/kernel/sys_m68k.c')
0 files changed, 0 insertions, 0 deletions