drm/vmwgfx: Fix a couple of sparse warnings and errors
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 6 Feb 2014 11:35:05 +0000 (12:35 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 12 Feb 2014 11:01:11 +0000 (12:01 +0100)
commit8e67bbbc51dbeaba480e83fe2162eb08083a0459
tree09a8dcc48d40b6a9db11a7708d2eb68297289f76
parent7c4c62a04a2a80e3feb5d6c97aca1e413b11c790
drm/vmwgfx: Fix a couple of sparse warnings and errors

Introduced with 3.14-rc1

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_context.c
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c