2021-10-15 19:36:17

by Colin King

[permalink] [raw]
Subject: [PATCH][next] lib/stackdepot: Fix spelling mistake and grammar in pr_err message

From: Colin Ian King <[email protected]>

There is a spelling mistake of the work allocation so fix this and
re-phrase the message to make it easier to read.

Signed-off-by: Colin Ian King <[email protected]>
---
lib/stackdepot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/stackdepot.c b/lib/stackdepot.c
index 8894a5171b25..8b6c41585203 100644
--- a/lib/stackdepot.c
+++ b/lib/stackdepot.c
@@ -186,7 +186,7 @@ __ref int stack_depot_init(void)
for (i = 0; i < STACK_HASH_SIZE; i++)
stack_table[i] = NULL;
} else {
- pr_err("Stack Depot failed hash table allocationg, disabling\n");
+ pr_err("Stack Depot hash table allocation failed, disabling\n");
stack_depot_disable = true;
mutex_unlock(&stack_depot_init_mutex);
return -ENOMEM;
--
2.32.0