Commit 1bab0fc0 authored by Felix Kuehling's avatar Felix Kuehling Committed by Alex Deucher

drm/amd/chash: Fix typo

Signed-off-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 45b19706
...@@ -223,8 +223,8 @@ static int chash_table_check(struct __chash_table *table) ...@@ -223,8 +223,8 @@ static int chash_table_check(struct __chash_table *table)
static void chash_iter_relocate(struct chash_iter dst, struct chash_iter src) static void chash_iter_relocate(struct chash_iter dst, struct chash_iter src)
{ {
BUG_ON(src.table == dst.table && src.slot == dst.slot); BUG_ON(src.table == dst.table && src.slot == dst.slot);
BUG_ON(src.table->key_size != src.table->key_size); BUG_ON(src.table->key_size != dst.table->key_size);
BUG_ON(src.table->value_size != src.table->value_size); BUG_ON(src.table->value_size != dst.table->value_size);
if (dst.table->key_size == 4) if (dst.table->key_size == 4)
dst.table->keys32[dst.slot] = src.table->keys32[src.slot]; dst.table->keys32[dst.slot] = src.table->keys32[src.slot];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment