]> www.infradead.org Git - users/jedix/linux-maple.git/commit
optee: remove vma linked list walk
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 14 Apr 2022 06:07:18 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 26 Apr 2022 14:36:39 +0000 (10:36 -0400)
commit8eedd63c4995df23186fd54ff1ebc71166cd1f25
treec22e24eb9b4696d070b5e4e4b9b993db780c1c46
parentdbe1a8c894449ceb7fed4599617e6dffa8940725
optee: remove vma linked list walk

Use the VMA iterator instead.  Change the calling convention of
__check_mem_type() to pass in the mm instead of the first vma in the
range.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
drivers/tee/optee/call.c