Commit 56b90fa0 authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller

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

There are spelling mistakes in warning macro messages. Fix them.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ca8d4794
...@@ -395,7 +395,7 @@ static int __init test_rhltable(unsigned int entries) ...@@ -395,7 +395,7 @@ static int __init test_rhltable(unsigned int entries)
if (WARN(err, "cannot remove element at slot %d", i)) if (WARN(err, "cannot remove element at slot %d", i))
continue; continue;
} else { } 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)) i, err, -ENOENT))
continue; continue;
} }
...@@ -440,7 +440,7 @@ static int __init test_rhltable(unsigned int entries) ...@@ -440,7 +440,7 @@ static int __init test_rhltable(unsigned int entries)
if (WARN(err, "cannot remove element at slot %d", i)) if (WARN(err, "cannot remove element at slot %d", i))
continue; continue;
} else { } 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)) err, -ENOENT))
continue; continue;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment