aboutsummaryrefslogtreecommitdiff
path: root/target-moxie
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2015-03-08 19:44:02 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2015-03-19 11:11:55 +0300
commit6093d01194edd74e24d46028b84d9d4a0a5cba17 (patch)
tree084e48442db71c6eb55669923846e1c6215c9d45 /target-moxie
parent2c20fa2cc26fd203a1260bb5251a523320faa905 (diff)
downloadqemu-6093d01194edd74e24d46028b84d9d4a0a5cba17.zip
qemu-6093d01194edd74e24d46028b84d9d4a0a5cba17.tar.gz
qemu-6093d01194edd74e24d46028b84d9d4a0a5cba17.tar.bz2
target-moxie: Fix warnings from Sparse (one-bit signed bitfield)
Report from Sparse: target-moxie/mmu.h:9:12: error: dubious one-bit signed bitfield target-moxie/mmu.h:10:12: error: dubious one-bit signed bitfield target-moxie/mmu.h:11:12: error: dubious one-bit signed bitfield target-moxie/mmu.h:12:12: error: dubious one-bit signed bitfield target-moxie/mmu.h:13:12: error: dubious one-bit signed bitfield Cc: Anthony Green <green@moxielogic.com> Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target-moxie')
-rw-r--r--target-moxie/mmu.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/target-moxie/mmu.h b/target-moxie/mmu.h
index e01ffc2..abc7929 100644
--- a/target-moxie/mmu.h
+++ b/target-moxie/mmu.h
@@ -6,11 +6,11 @@
typedef struct {
uint32_t phy;
uint32_t pfn;
- int g:1;
- int v:1;
- int k:1;
- int w:1;
- int e:1;
+ unsigned g:1;
+ unsigned v:1;
+ unsigned k:1;
+ unsigned w:1;
+ unsigned e:1;
int cause_op;
} MoxieMMUResult;