forked from Minki/linux
drm/amd/chash: Fix typo
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
45b19706a4
commit
1bab0fc01b
@ -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)
|
||||
{
|
||||
BUG_ON(src.table == dst.table && src.slot == dst.slot);
|
||||
BUG_ON(src.table->key_size != src.table->key_size);
|
||||
BUG_ON(src.table->value_size != src.table->value_size);
|
||||
BUG_ON(src.table->key_size != dst.table->key_size);
|
||||
BUG_ON(src.table->value_size != dst.table->value_size);
|
||||
|
||||
if (dst.table->key_size == 4)
|
||||
dst.table->keys32[dst.slot] = src.table->keys32[src.slot];
|
||||
|
Loading…
Reference in New Issue
Block a user