diff options
author | Lukas Bulwahn <lukas.bulwahn@gmail.com> | 2020-12-07 13:41:41 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-12-11 19:44:31 +0100 |
commit | 9a02fd8b19247e80e2354a227b6e2392e8fae78a (patch) | |
tree | 292f1c52cc00ccde3ee410dfe04431b1e0fcd747 /Documentation/x86 | |
parent | 72ebb5ff806f9a421a2a53cdfe6c4ebbab243bd5 (diff) | |
download | linux-9a02fd8b19247e80e2354a227b6e2392e8fae78a.tar.gz linux-9a02fd8b19247e80e2354a227b6e2392e8fae78a.tar.bz2 linux-9a02fd8b19247e80e2354a227b6e2392e8fae78a.zip |
x86/ia32_signal: Propagate __user annotation properly
Commit
57d563c82925 ("x86: ia32_setup_rt_frame(): consolidate uaccess areas")
dropped a __user annotation in a cast when refactoring __put_user() to
unsafe_put_user().
Hence, since then, sparse warns in arch/x86/ia32/ia32_signal.c:350:9:
warning: cast removes address space '__user' of expression
warning: incorrect type in argument 1 (different address spaces)
expected void const volatile [noderef] __user *ptr
got unsigned long long [usertype] *
Add the __user annotation to restore the propagation of address spaces.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201207124141.21859-1-lukas.bulwahn@gmail.com
Diffstat (limited to 'Documentation/x86')
0 files changed, 0 insertions, 0 deletions