UPSTREAM: arm64: memory: Add missing brackets to untagged_addr() macro
(Upstream commit d0022c0e.) 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: 597399d0 ("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> Bug: 135692346 Change-Id: I1bce8f6a185258a365aaa292483fabc02519301f Signed-off-by:
Andrey Konovalov <andreyknvl@google.com>
Loading
Please sign in to comment