aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2015-04-02 05:39:45 -0400
committerThomas Hellstrom <thellstrom@vmware.com>2015-08-05 08:01:11 -0400
commitb9eb1a6174e58eb8beea664ffc20d152230d8004 (patch)
treec95ea95353e27545018d56b7b17f6f0cce2e5d48 /drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
parentf6b05004538ab0933c7527f10a2a6ed88c620f99 (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
index e94feb338f89..32ec52eaedd8 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
@@ -695,10 +695,10 @@ static bool vmw_cmdbuf_try_alloc(struct vmw_cmdbuf_man *man,
695 * no space available ATM, it turns on IRQ handling and sleeps waiting for it to 695 * no space available ATM, it turns on IRQ handling and sleeps waiting for it to
696 * become available. 696 * become available.
697 */ 697 */
698int vmw_cmdbuf_alloc_space(struct vmw_cmdbuf_man *man, 698static int vmw_cmdbuf_alloc_space(struct vmw_cmdbuf_man *man,
699 struct drm_mm_node *node, 699 struct drm_mm_node *node,
700 size_t size, 700 size_t size,
701 bool interruptible) 701 bool interruptible)
702{ 702{
703 struct vmw_cmdbuf_alloc_info info; 703 struct vmw_cmdbuf_alloc_info info;
704 704