diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2015-11-10 10:22:56 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2015-11-18 02:45:34 -0800 |
commit | 70b080c24669353d97e99f34befede23c5c50b7b (patch) | |
tree | c99d6d372082e654bb67a75092be5bfdd7e94b20 /vmwgfx_reg.h | |
parent | 23c50374e6574cc41921d0b98e4516e0224f106f (diff) |
vmwgfx: Fix address-space- visibility- and endian warnings and errors
Found by sparse.
Also annotate and fix code to avoid confusing sparse with
unusual locking patterns.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'vmwgfx_reg.h')
-rw-r--r-- | vmwgfx_reg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vmwgfx_reg.h b/vmwgfx_reg.h index 4de0914..dce7980 100644 --- a/vmwgfx_reg.h +++ b/vmwgfx_reg.h @@ -39,12 +39,12 @@ #define VMWGFX_IRQSTATUS_PORT 0x8 struct svga_guest_mem_descriptor { - __le32 ppn; - __le32 num_pages; + u32 ppn; + u32 num_pages; }; struct svga_fifo_cmd_fence { - __le32 fence; + u32 fence; }; #define SVGA_SYNC_GENERIC 1 |