diff options
author | Thomas Gleixner <[email protected]> | 2024-03-04 11:12:25 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2024-03-04 12:09:12 +0100 |
commit | ae6b0195f5c503f22673a4acf21111822305c1e0 (patch) | |
tree | 0a52c3393062b0d49d9f6113a16d7fc08b508f54 /include/linux/compiler-gcc.h | |
parent | 71eb4893cfaf37f8884515c8f71717044b97bf44 (diff) |
x86/uaccess: Add missing __force to casts in __access_ok() and valid_user_address()
Sparse complains about losing the __user address space due to the cast to
long:
uaccess_64.h:88:24: sparse: warning: cast removes address space '__user' of expression
Annotate it with __force to tell sparse that this is intentional.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions