]> www.infradead.org Git - users/jedix/linux-maple.git/commit
optee: remove vma linked list walk
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 20 Jul 2022 02:17:56 +0000 (02:17 +0000)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 6 Sep 2022 19:44:24 +0000 (15:44 -0400)
commita2a4c65305cb15768a34ec0d1cbe517f275934a8
tree7f3136c628ff76487c1c04272ce304e28f1f5d07
parentb357da823814607cda431660b9ad764c1c263588
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>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
drivers/tee/optee/call.c