mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue