Skip to contentSkip to conversation

lib/test_rhashtable: fix spelling mistake "existant" -> "existent"

PATCH Applied Colin King 3 participants 3 messages Feb 17, 2019 – Feb 21, 2019

Subsystems (5)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 lib/test_rhashtable: fix spelling mistake "existant" -> "existent"

From: Colin Ian King <[email protected]>

There are spelling mistakes in warning macro messages. Fix them.

---
 lib/test_rhashtable.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/test_rhashtable.c +2 -2
index e52f8cafe227..2c0c53a99734 100644
@@ -395,7 +395,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;
 		}
@@ -440,7 +440,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;
 		}
Signature · 1 line
2.20.1