aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorJens Wiklander <[email protected]>2022-08-22 07:43:35 +0200
committerJens Wiklander <[email protected]>2022-08-25 11:40:06 +0200
commiteccd7439709810127563e7e3e49b8b44c7b2791d (patch)
tree2ff9c0919bb502a30dff667a47d5a3a35ce7df2f /drivers/usb/cdns3/cdns3-debug.h
parent1c23f9e627a7b412978b4e852793c5e3c3efc555 (diff)
tee: fix compiler warning in tee_shm_register()
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: 573ae4f13f63 ("tee: add overflow check in register_shm_helper()") Reviewed-by: Sumit Garg <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: Jens Wiklander <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions