aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/lib/chash.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2017-09-20 15:38:19 +0000
committerAlex Deucher <[email protected]>2017-09-28 20:03:29 +0000
commit1bab0fc01b84c1aa8a65a1f1de885e1faab48264 (patch)
treec5cd7e5bc48050c589290713d59dbf1a8adcbefc /drivers/gpu/drm/amd/lib/chash.c
parentdrm/amd/powerplay: fix spelling mistake: "dividable" -> "divisible" (diff)
downloadkernel-1bab0fc01b84c1aa8a65a1f1de885e1faab48264.tar.gz
kernel-1bab0fc01b84c1aa8a65a1f1de885e1faab48264.zip
drm/amd/chash: Fix typo
Signed-off-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/lib/chash.c')
-rw-r--r--drivers/gpu/drm/amd/lib/chash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/lib/chash.c b/drivers/gpu/drm/amd/lib/chash.c
index e07e6f3030d6..b8e45f356a1c 100644
--- a/drivers/gpu/drm/amd/lib/chash.c
+++ b/drivers/gpu/drm/amd/lib/chash.c
@@ -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];