[PATCH] test_rhashtable: fix spelling mistake: "existant" -> "existent"

From: Colin King
Date: Mon Mar 19 2018 - 06:50:31 EST


From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Trivial fix to spelling mistake in warning message text

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
lib/test_rhashtable.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/test_rhashtable.c b/lib/test_rhashtable.c
index f4000c137dbe..32d964cbac8c 100644
--- a/lib/test_rhashtable.c
+++ b/lib/test_rhashtable.c
@@ -396,7 +396,7 @@ static int __init test_rhltable(unsigned int entries)
if (WARN(err, "cannot remove element at slot %d", i))
continue;
} else {
- if (WARN(err != -ENOENT, "removed non-existant element %d, error %d not %d",
+ if (WARN(err != -ENOENT, "removed non-existent element %d, error %d not %d",
i, err, -ENOENT))
continue;
}
@@ -441,7 +441,7 @@ static int __init test_rhltable(unsigned int entries)
if (WARN(err, "cannot remove element at slot %d", i))
continue;
} else {
- if (WARN(err != -ENOENT, "removed non-existant element, error %d not %d",
+ if (WARN(err != -ENOENT, "removed non-existent element, error %d not %d",
err, -ENOENT))
continue;
}
--
2.15.1