diff options
| author | Ian Forbes <ian.forbes@broadcom.com> | 2025-09-26 14:54:26 -0500 |
|---|---|---|
| committer | Zack Rusin <zack.rusin@broadcom.com> | 2025-10-06 11:57:59 -0400 |
| commit | 228c5d44dffe8c293cd2d2f0e7ea45e64565b1c4 (patch) | |
| tree | c93ffd76f9ec5cc74c3583e160030545eb911a80 /drivers/gpu/drm/vmwgfx/vmwgfx_validation.c | |
| parent | drm/vmwgfx: Fix Use-after-free in validation (diff) | |
| download | linux-228c5d44dffe8c293cd2d2f0e7ea45e64565b1c4.tar.gz linux-228c5d44dffe8c293cd2d2f0e7ea45e64565b1c4.zip | |
drm/vmwgfx: Fix copy-paste typo in validation
'entry' should be 'val' which is the loop iterator.
Fixes: 9e931f2e0970 ("drm/vmwgfx: Refactor resource validation hashtable to use linux/hashtable implementation.")
Signed-off-by: Ian Forbes <ian.forbes@broadcom.com>
Reviewed-by: Zack Rusin <zack.rusin@broadcom.com>
Signed-off-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://lore.kernel.org/r/20250926195427.1405237-2-ian.forbes@broadcom.com
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_validation.c')
| -rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_validation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_validation.c b/drivers/gpu/drm/vmwgfx/vmwgfx_validation.c index 4d0fb71f6211..35dc94c3db39 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_validation.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_validation.c @@ -638,7 +638,7 @@ void vmw_validation_drop_ht(struct vmw_validation_context *ctx) hash_del_rcu(&val->hash.head); list_for_each_entry(val, &ctx->resource_ctx_list, head) - hash_del_rcu(&entry->hash.head); + hash_del_rcu(&val->hash.head); ctx->sw_context = NULL; } |
