]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
lib/test_rhashtable: fix spelling mistake "existant" -> "existent"
authorColin Ian King <colin.king@canonical.com>
Sun, 17 Feb 2019 22:52:09 +0000 (22:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Feb 2019 21:09:11 +0000 (13:09 -0800)
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>
lib/test_rhashtable.c

index e52f8cafe227d8b9a687b9d3cebd17dfacea50f4..2c0c53a997340c1d078c69586d8a1304c91c4b0f 100644 (file)
@@ -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;
                }