summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-11-22 22:36:05 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2021-11-24 15:34:19 +1100
commit1ea6da8def12fd9db16d4b955b4f84cdb9718159 (patch)
treee65498156d5f032a1d58f90e4c6b93c694ebb42c
parentabc307caf8826283996548e93863ca581521f448 (diff)
downloadlinux-1ea6da8def12fd9db16d4b955b4f84cdb9718159.tar.gz
linux-1ea6da8def12fd9db16d4b955b4f84cdb9718159.tar.xz
lib/stackdepot: fix spelling mistake and grammar in pr_err message
There is a spelling mistake of the work allocation so fix this and re-phrase the message to make it easier to read. Link: https://lkml.kernel.org/r/20211015104159.11282-1-colin.king@canonical.com Signed-off-by: Colin Ian King <colin.king@canonical.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r--lib/stackdepot.c2
1 files changed, 1 insertions, 1 deletions
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;