From: Colin Ian King Date: Sun, 17 Feb 2019 22:52:09 +0000 (+0000) Subject: lib/test_rhashtable: fix spelling mistake "existant" -> "existent" X-Git-Tag: v5.1-rc1~178^2~146 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=56b90fa02214e74263a12a227e71ddd748c3fab0;p=users%2Fjedix%2Flinux-maple.git lib/test_rhashtable: fix spelling mistake "existant" -> "existent" There are spelling mistakes in warning macro messages. Fix them. Signed-off-by: Colin Ian King Acked-by: Herbert Xu Signed-off-by: David S. Miller --- 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) 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; }