mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
optee_shm_register() expected pages to be passed as an array of page
pointers rather than as an array of contiguous pages. So fix that via
correctly passing pages as per expectation.
Fixes: a249dd200d ("tee: optee: Fix dynamic shm pool allocations")
Reported-by: Vincent Cao <[email protected]>
Signed-off-by: Sumit Garg <[email protected]>
Tested-by: Vincent Cao <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>