Skip to content
Commit 15763f04 authored by Sumit Garg's avatar Sumit Garg Committed by Greg Kroah-Hartman
Browse files

optee: Fix multi page dynamic shm pool alloc



[ Upstream commit 5a769f6f ]

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: a249dd20 ("tee: optee: Fix dynamic shm pool allocations")
Reported-by: default avatarVincent Cao <vincent.t.cao@intel.com>
Signed-off-by: default avatarSumit Garg <sumit.garg@linaro.org>
Tested-by: default avatarVincent Cao <vincent.t.cao@intel.com>
Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 88532d1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment