aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/arm64
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2019-08-09 15:39:37 +0100
committerWill Deacon <will@kernel.org>2019-08-09 15:39:37 +0100
commit9c1cac424c93d2b3122014e07a54b003ddedc168 (patch)
treeed771235730e7c4c6d5f1b1e2d788ea5a91535de /tools/testing/selftests/arm64
parentselftests, arm64: add a selftest for passing tagged pointers to kernel (diff)
downloadlinux-dev-9c1cac424c93d2b3122014e07a54b003ddedc168.tar.xz
linux-dev-9c1cac424c93d2b3122014e07a54b003ddedc168.zip
arm64: mm: Really fix sparse warning in untagged_addr()
untagged_addr() can be called with a '__user' pointer parameter and must therefore use '__force' casts both when passing this parameter through to sign_extend64() as a 'u64', but also when casting the 's64' return value back to the '__user' pointer type. Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/testing/selftests/arm64')
0 files changed, 0 insertions, 0 deletions