diff mbox series

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

Message ID 20190217225209.17536-1-colin.king@canonical.com
State Accepted
Delegated to: David Miller
Headers show
Series lib/test_rhashtable: fix spelling mistake "existant" -> "existent" | expand

Commit Message

Colin Ian King Feb. 17, 2019, 10:52 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 lib/test_rhashtable.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Herbert Xu Feb. 18, 2019, 10:23 a.m. UTC | #1
On Sun, Feb 17, 2019 at 10:52:09PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> 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>
David Miller Feb. 21, 2019, 9:09 p.m. UTC | #2
From: Colin King <colin.king@canonical.com>
Date: Sun, 17 Feb 2019 22:52:09 +0000

> From: Colin Ian King <colin.king@canonical.com>
> 
> There are spelling mistakes in warning macro messages. Fix them.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied to net-next.
diff mbox series

Patch

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;
 		}