mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-26 11:26:27 +00:00
Include <linux/uaccess.h> to avoid the warning:
drivers/tee/tee_shm.c: In function 'tee_shm_register':
>> drivers/tee/tee_shm.c:242:14: error: implicit declaration of function 'access_ok' [-Werror=implicit-function-declaration]
242 | if (!access_ok((void __user *)addr, length))
| ^~~~~~~~~
cc1: some warnings being treated as errors
Fixes:
|
||
|---|---|---|
| .. | ||
| amdtee | ||
| optee | ||
| Kconfig | ||
| Makefile | ||
| tee_core.c | ||
| tee_private.h | ||
| tee_shm_pool.c | ||
| tee_shm.c | ||