Skip to content
Commit 9c1cac42 authored by Will Deacon's avatar Will Deacon
Browse files

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: default avatarWill Deacon <will@kernel.org>
parent 9ce12630
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