Skip to content
Commit 2adf5352 authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: add missing __user annotations to asm/uaccess.h



clear_user, strncpy_user, strnlen_user and their helpers operate on user
pointers, but don't have their arguments marked as __user.
Add __user annotation to userspace pointers of those functions.
Fix open-coded access check in the strnlen_user while at it.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 9afcc71b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment