drm/vmwgfx: Kill a bunch of sparse warnings

We're giving up all attempts to keep cpu- and device byte ordering separate.

This silences sparse when compiled using
make C=2 CF="-D__CHECK_ENDIAN__"

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
This commit is contained in:
Thomas Hellstrom
2015-04-02 02:39:45 -07:00
parent f6b0500453
commit b9eb1a6174
20 changed files with 103 additions and 107 deletions

View File

@@ -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