]> git.baikalelectronics.ru Git - kernel.git/commit
hwrng: optee-rng: use tee_shm_alloc_kernel_buf()
authorJens Wiklander <jens.wiklander@linaro.org>
Fri, 4 Feb 2022 09:33:50 +0000 (10:33 +0100)
committerJens Wiklander <jens.wiklander@linaro.org>
Wed, 16 Feb 2022 06:49:41 +0000 (07:49 +0100)
commit5c40e8afc1eeeebf56af46906448b05d6529c221
treeb33f79d08f5ce8dde2c987e94580865b42062000
parent9b018bdc434d3d9ac7d5f67f0faf8d7e4a2df628
hwrng: optee-rng: use tee_shm_alloc_kernel_buf()

Uses the new simplified tee_shm_alloc_kernel_buf() function instead of
the old deprecated 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>
drivers/char/hw_random/optee-rng.c