projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b6bfc7
)
tcg-sparc: Fix parenthesis warning
author
Richard Henderson
<rth@twiddle.net>
Fri, 6 Sep 2013 20:24:11 +0000
(13:24 -0700)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Fri, 20 Sep 2013 16:09:24 +0000
(20:09 +0400)
error: suggest parentheses around comparison in operand of ‘&’ [-Werror=parentheses]
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tcg/sparc/tcg-target.h
patch
|
blob
|
history
diff --git
a/tcg/sparc/tcg-target.h
b/tcg/sparc/tcg-target.h
index 2edf858733b4b4fcc18df2f0ce3084261b310746..1ff2922bbe3c550508b5c1d3d2cac0332da8b6e2 100644
(file)
--- a/
tcg/sparc/tcg-target.h
+++ b/
tcg/sparc/tcg-target.h
@@
-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));
}
}