aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_context.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2014-01-20 05:33:04 -0500
committerThomas Hellstrom <thellstrom@vmware.com>2014-01-21 07:22:18 -0500
commit3e894a6259964618e29809b844bffaaf9849067b (patch)
treee7698f18611a0e57836d768632d3addcba6ce855 /drivers/gpu/drm/vmwgfx/vmwgfx_context.c
parentcfd72a4c2089aa3938f37281a34d6eb3306d5fd8 (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_context.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_context.c b/drivers/gpu/drm/vmwgfx/vmwgfx_context.c
index 97aa55159107..82c41daebc0e 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_context.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_context.c
@@ -744,7 +744,7 @@ static void vmw_context_binding_transfer(struct vmw_ctx_binding_state *cbs,
744 * Emits FIFO commands to scrub a binding represented by @cb. 744 * Emits FIFO commands to scrub a binding represented by @cb.
745 * Then stops tracking the binding and re-initializes its storage. 745 * Then stops tracking the binding and re-initializes its storage.
746 */ 746 */
747void vmw_context_binding_kill(struct vmw_ctx_binding *cb) 747static void vmw_context_binding_kill(struct vmw_ctx_binding *cb)
748{ 748{
749 (void) vmw_scrub_funcs[cb->bi.bt](&cb->bi); 749 (void) vmw_scrub_funcs[cb->bi.bt](&cb->bi);
750 vmw_context_binding_drop(cb); 750 vmw_context_binding_drop(cb);