summaryrefslogtreecommitdiffstats
path: root/drivers/tee/tee_shm_pool.c
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2022-02-04 10:33:52 +0100
committerJens Wiklander <jens.wiklander@linaro.org>2022-02-16 07:49:41 +0100
commit71cc47d4cc1f7a333584e0f2f7c863c71a6d3ced (patch)
tree8755e5e5e8e856aff8671a7473016f7fc5e44526 /drivers/tee/tee_shm_pool.c
parentf41b6be1ebdae452819551ed35a46e6fd32bf467 (diff)
downloadlinux-71cc47d4cc1f7a333584e0f2f7c863c71a6d3ced.tar.bz2
tee: add tee_shm_alloc_user_buf()
Adds a new function tee_shm_alloc_user_buf() for user mode allocations, replacing passing the flags TEE_SHM_MAPPED | TEE_SHM_DMA_BUF to tee_shm_alloc(). Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'drivers/tee/tee_shm_pool.c')
-rw-r--r--drivers/tee/tee_shm_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tee/tee_shm_pool.c b/drivers/tee/tee_shm_pool.c
index a9f9d50fd181..54c11aa374a8 100644
--- a/drivers/tee/tee_shm_pool.c
+++ b/drivers/tee/tee_shm_pool.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
- * Copyright (c) 2015, Linaro Limited
+ * Copyright (c) 2015 Linaro Limited
*/
#include <linux/device.h>
#include <linux/dma-buf.h>