Skip to content

Commit 228c5d4

Browse files
en4bzzackr
authored andcommitted
drm/vmwgfx: Fix copy-paste typo in validation
'entry' should be 'val' which is the loop iterator. Fixes: 9e931f2 ("drm/vmwgfx: Refactor resource validation hashtable to use linux/hashtable implementation.") Signed-off-by: Ian Forbes <[email protected]> Reviewed-by: Zack Rusin <[email protected]> Signed-off-by: Zack Rusin <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent dfe1323 commit 228c5d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/vmwgfx/vmwgfx_validation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ void vmw_validation_drop_ht(struct vmw_validation_context *ctx)
638638
hash_del_rcu(&val->hash.head);
639639

640640
list_for_each_entry(val, &ctx->resource_ctx_list, head)
641-
hash_del_rcu(&entry->hash.head);
641+
hash_del_rcu(&val->hash.head);
642642

643643
ctx->sw_context = NULL;
644644
}

0 commit comments

Comments
 (0)