summaryrefslogtreecommitdiffstats
path: root/lib/test_scanf.c
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-07-08 03:07:28 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2021-07-08 20:48:20 +0200
commit53b0fe36ab7c6eb3ce8ca711e636806649273463 (patch)
treef18a30cd0f8771c00c87d20ced9133258f966dd4 /lib/test_scanf.c
parentMerge tag 'modules-for-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadlinux-53b0fe36ab7c6eb3ce8ca711e636806649273463.tar.xz
linux-53b0fe36ab7c6eb3ce8ca711e636806649273463.zip
lib/test: fix spelling mistakes
Fix some spelling mistakes in comments found by "codespell": thats ==> that's unitialized ==> uninitialized panicing ==> panicking sucess ==> success possitive ==> positive intepreted ==> interpreted Link: https://lkml.kernel.org/r/20210607133036.12525-2-thunder.leizhen@huawei.com Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Acked-by: Yonghong Song <yhs@fb.com> [test_bfp.c] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/test_scanf.c')
-rw-r--r--lib/test_scanf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_scanf.c b/lib/test_scanf.c
index 48ff5747a4da..84fe09eaf55e 100644
--- a/lib/test_scanf.c
+++ b/lib/test_scanf.c
@@ -600,7 +600,7 @@ static void __init numbers_prefix_overflow(void)
/*
* 0x prefix in a field of width 2 using %i conversion: first field
* converts to 0. Next field scan starts at the character after "0x",
- * which will convert if can be intepreted as decimal but will fail
+ * which will convert if can be interpreted as decimal but will fail
* if it contains any hex digits (since no 0x prefix).
*/
test_number_prefix(long long, "0x67", "%2lli%lli", 0, 67, 2, check_ll);