diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-02-17 17:52:09 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-21 16:09:11 -0500 |
commit | 56b90fa02214e74263a12a227e71ddd748c3fab0 (patch) | |
tree | 994f23ee5830471580f1a2391cf299485e1760e7 | |
parent | ca8d4794f669e721fb5198f6d142e42dd8080239 (diff) |
lib/test_rhashtable: fix spelling mistake "existant" -> "existent"
There are spelling mistakes in warning macro messages. Fix them.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | lib/test_rhashtable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test_rhashtable.c b/lib/test_rhashtable.c index e52f8cafe227..2c0c53a99734 100644 --- a/lib/test_rhashtable.c +++ b/lib/test_rhashtable.c | |||
@@ -395,7 +395,7 @@ static int __init test_rhltable(unsigned int entries) | |||
395 | if (WARN(err, "cannot remove element at slot %d", i)) | 395 | if (WARN(err, "cannot remove element at slot %d", i)) |
396 | continue; | 396 | continue; |
397 | } else { | 397 | } else { |
398 | if (WARN(err != -ENOENT, "removed non-existant element %d, error %d not %d", | 398 | if (WARN(err != -ENOENT, "removed non-existent element %d, error %d not %d", |
399 | i, err, -ENOENT)) | 399 | i, err, -ENOENT)) |
400 | continue; | 400 | continue; |
401 | } | 401 | } |
@@ -440,7 +440,7 @@ static int __init test_rhltable(unsigned int entries) | |||
440 | if (WARN(err, "cannot remove element at slot %d", i)) | 440 | if (WARN(err, "cannot remove element at slot %d", i)) |
441 | continue; | 441 | continue; |
442 | } else { | 442 | } else { |
443 | if (WARN(err != -ENOENT, "removed non-existant element, error %d not %d", | 443 | if (WARN(err != -ENOENT, "removed non-existent element, error %d not %d", |
444 | err, -ENOENT)) | 444 | err, -ENOENT)) |
445 | continue; | 445 | continue; |
446 | } | 446 | } |