Skip to contentSkip to conversation

scripts: fix spelling mistakes

PATCH In review Martin Weiss 4 participants 7 messages Jun 29 – Jul 17

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/4 scripts: fix spelling mistakes

---
 scripts/config          | 2 +-
 scripts/link-vmlinux.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
scripts/config +1 -1
index ea475c07de28..dfa78cfcba67 100755
@@ -38,7 +38,7 @@ commands:
 
 options:
 	--file config-file   .config file to change (default .config)
-	--keep-case|-k       Keep next symbols' case (dont' upper-case it)
+	--keep-case|-k       Keep next symbols' case (don't upper-case it)
 
 $myname doesn't check the validity of the .config file. This is done at next
 make time.
scripts/link-vmlinux.sh +1 -1
index f99e196abeea..c8f27e4175f9 100755
@@ -38,7 +38,7 @@ is_enabled() {
 }
 
 # Nice output in kbuild format
-# Will be supressed by "make -s"
+# Will be suppressed by "make -s"
 info()
 {
 	printf "  %-7s %s\n" "${1}" "${2}"
Signature · 1 line
2.54.0
#1 lore raw

PATCH 2/4 selftests: filesystems: fix spelling mistake in statmount test

---
 tools/testing/selftests/filesystems/statmount/statmount_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/filesystems/statmount/statmount_test.c +1 -1
index 8dc018d47a93..9d963e09e510 100644
@@ -515,7 +515,7 @@ static void test_statmount_mnt_opts(void)
 		return;
 	}
 
-	ksft_test_result_fail("didnt't find mount entry\n");
+	ksft_test_result_fail("didn't find mount entry\n");
 	free(sm);
 	free(line);
 }
Signature · 1 line
2.54.0
#2 lore raw

PATCH 3/4 selftests: powerpc: fix spelling mistake

In reply to Martin Weiss
---
 tools/testing/selftests/powerpc/tm/tm-tar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/powerpc/tm/tm-tar.c +1 -1
index f2a9137f3c1e..ea420caa3961 100644
@@ -50,7 +50,7 @@ int test_tar(void)
 			"bne	2b;"
 			"tend.;"
 
-			/* Transaction sucess! TAR should be 3 */
+			/* Transaction success! TAR should be 3 */
 			"mfspr  7, %[tar];"
 			"ori	%[res], 7, 4;"  // res = 3|4 = 7
 			"b	4f;"
Signature · 1 line
2.54.0
#3 lore raw

PATCH 4/4 tools/build: fix spelling mistake in documentation

In reply to Martin Weiss
---
 tools/build/Documentation/Build.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/build/Documentation/Build.txt +1 -1
index a22587475dbe..da037299dfd1 100644
@@ -102,7 +102,7 @@ Makefile.include
 ----------------
 
 The tools/build/Makefile.include makefile could be included
-via user makefiles to get usefull definitions.
+via user makefiles to get useful definitions.
 
 It defines following interface:
 
Signature · 1 line
2.54.0
maintainer Reviewed-by on v1 1/4
#4 lore raw
In reply to Martin Weiss

On Mon, 29 Jun 2026 15:28:06 +0700, Martin Weiss <[email protected]> wrote:

Hi Martin,

Quoted 6 lines
scripts/link-vmlinux.sh +0 -0
index f99e196abeea..c8f27e4175f9 100755

scripts/link-vmlinux.sh is_enabled() { · line 44

Quoted 8 lines
scripts/link-vmlinux.sh +1 -1
@@ -38,7 +38,7 @@ is_enabled() {
 }
 
 # Nice output in kbuild format
-# Will be supressed by "make -s"
+# Will be suppressed by "make -s"
 info()
 {
 	printf "  %-7s %s\n" "${1}" "${2}"

Please always include a commit message, even if it is something as simple as "there are two minor typographical issues in a couple of scripts under scripts/, fix them", as some maintainers will require it. I don't think it that big of a deal in this case but just something to keep in mind.

Signature · 2 lines
Cheers,
Nathan
Acked-by on v1 1/4
#5 lore raw
In reply to Martin Weiss
Quoted 1 line · Martin Weiss

Thanks.

Quoted 31 lines
---
 scripts/config          | 2 +-
 scripts/link-vmlinux.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
scripts/config +1 -1
index ea475c07de28..dfa78cfcba67 100755
@@ -38,7 +38,7 @@ commands:
 
 options:
 	--file config-file   .config file to change (default .config)
-	--keep-case|-k       Keep next symbols' case (dont' upper-case it)
+	--keep-case|-k       Keep next symbols' case (don't upper-case it)
 
 $myname doesn't check the validity of the .config file. This is done at next
 make time.
scripts/link-vmlinux.sh +1 -1
index f99e196abeea..c8f27e4175f9 100755
@@ -38,7 +38,7 @@ is_enabled() {
 }
 
 # Nice output in kbuild format
-# Will be supressed by "make -s"
+# Will be suppressed by "make -s"
 info()
 {
 	printf "  %-7s %s\n" "${1}" "${2}"
Signature · 1 line
~Randy
maintainer
#6 lore raw
In reply to Martin Weiss
Quoted 1 line · Martin Weiss

Applied to kbuild/linux.git (kbuild-next-unstable) with a minimal commit message added, thanks!

[1/4] scripts: fix spelling mistakes

      https://git.kernel.org/kbuild/c/ab3f7f5e

Please look out for regression or issue reports or other follow up comments, as they may result in the patch/series getting dropped, reverted or modified (e.g. trailers). Patches applied to the kbuild-next-unstable branch are accepted pending wider testing in linux-next and any post-commit review; they will generally be moved to the kbuild-next branch in about a week if no issues are found.

Best regards,

Signature · 1 line
Nicolas