OSDN Git Service

KEYS: trusted: tee: use tee_shm_register_kernel_buf()
authorJens Wiklander <jens.wiklander@linaro.org>
Fri, 4 Feb 2022 09:33:57 +0000 (10:33 +0100)
committerJens Wiklander <jens.wiklander@linaro.org>
Wed, 16 Feb 2022 06:49:41 +0000 (07:49 +0100)
commit231b1fc5da094b7185715f536ae33968469f1d96
tree4b84075aab868585176ffc7684d190ce35a101bd
parent056d3fed3d1ff3f5d699be337f048f9eed2befaf
KEYS: trusted: tee: use tee_shm_register_kernel_buf()

Uses the new simplified tee_shm_register_kernel_buf() function instead
of the old tee_shm_alloc() function which required specific
TEE_SHM-flags

Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
security/keys/trusted-keys/trusted_tee.c