Skip to content
Snippets Groups Projects
Commit 387e4176 authored by Richard Henderson's avatar Richard Henderson Committed by Michael Tokarev
Browse files

tcg-sparc: Fix parenthesis warning


error: suggest parentheses around comparison in operand of ‘&’ [-Werror=parentheses]

Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 8b6bfc77
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,7 @@ typedef enum {
static inline void flush_icache_range(uintptr_t start, uintptr_t stop)
{
uintptr_t p;
for (p = start & -8; p < (stop + 7) & -8; p += 8) {
for (p = start & -8; p < ((stop + 7) & -8); p += 8) {
__asm__ __volatile__("flush\t%0" : : "r" (p));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment