optee: Fix multi page dynamic shm pool alloc
[ Upstream commit 5a769f6ff439cedc547395a6dc78faa26108f741 ]
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: a249dd200d03 ("tee: optee: Fix dynamic shm pool allocations")
Reported-by:
Vincent Cao <vincent.t.cao@intel.com>
Signed-off-by:
Sumit Garg <sumit.garg@linaro.org>
Tested-by:
Vincent Cao <vincent.t.cao@intel.com>
Signed-off-by:
Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment