drm/vmwgfx: Fix a couple of compile / sparse warnings and errors
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 12 Nov 2013 07:49:26 +0000 (23:49 -0800)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 13 Nov 2013 07:47:32 +0000 (23:47 -0800)
commite14cd9536bd11b174a849da91c7a26bbc980330d
tree63110073766ec571e2d17dbdf5d8e88c5f063615
parentea029c28deadc33d2af4baf26810dd5fc44d4926
drm/vmwgfx: Fix a couple of compile / sparse warnings and errors

Fixes
 *) an implicit function declaration on mips,
 *) a defined but not used label on !CONFIG_INTEL_IOMMU
 *) Hopefully a couple of sparse warnings where we implicitly typecast
    integer to __le32 and vice versa.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c