diff options
author | ZhangPeng <[email protected]> | 2023-04-17 08:39:19 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-04-21 14:52:02 -0700 |
commit | 686ea6e61da61e46ae7068f73167ca26e0c67efb (patch) | |
tree | 67b39532bad3c68d081dda8a41c82e0832b5bc65 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 13215e8a4bb336dac2af561d4f5c34a071810ee4 (diff) |
userfaultfd: use helper function range_in_vma()
We can use range_in_vma() to check if dst_start, dst_start + len are
within the dst_vma range. Minor readability improvement.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: ZhangPeng <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Cc: Kefeng Wang <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Nanyong Sun <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions