commit | d0022c0ef29b78bcbe8a5c5894bd2307143afce1 | [log] [tgz] |
---|---|---|
author | Will Deacon <will@kernel.org> | Wed Feb 19 10:19:13 2020 +0000 |
committer | Will Deacon <will@kernel.org> | Wed Feb 19 13:41:33 2020 +0000 |
tree | 1f6531635f05cd87565ae8454ad6b28290a4a0e6 | |
parent | dd1f6308b28edf0452dd5dc7877992903ec61e69 [diff] |
arm64: memory: Add missing brackets to untagged_addr() macro Add brackets around the evaluation of the 'addr' parameter to the untagged_addr() macro so that the cast to 'u64' applies to the result of the expression. Cc: <stable@vger.kernel.org> Fixes: 597399d0cb91 ("arm64: tags: Preserve tags for addresses translated via TTBR1") Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Will Deacon <will@kernel.org>