drm/vmwgfx: Fix recently introduced sparse / smatch warnings and errors
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 20 Jan 2014 10:33:04 +0000 (11:33 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 21 Jan 2014 12:22:18 +0000 (13:22 +0100)
commit3e894a6259964618e29809b844bffaaf9849067b
treee7698f18611a0e57836d768632d3addcba6ce855
parentcfd72a4c2089aa3938f37281a34d6eb3306d5fd8
drm/vmwgfx: Fix recently introduced sparse / smatch warnings and errors

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