Skip to contentSkip to conversation

fs/ntfs3: Fix spelling mistake "whitout" -> "without"

PATCH In review Colin King 2 participants 4 messages Aug 16, 2021

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 fs/ntfs3: Fix spelling mistake "whitout" -> "without"

From: Colin Ian King <[email protected]>

There is a spelling mistake in a ntfs_err error message. Fix it.

---
 fs/ntfs3/run.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ntfs3/run.c +1 -1
index 5cdf6efe67e0..f9c362ac672e 100644
@@ -949,7 +949,7 @@ int run_unpack(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino,
 		if (next_vcn > 0x100000000ull || (lcn + len) > 0x100000000ull) {
 			ntfs_err(
 				sbi->sb,
-				"This driver is compiled whitout CONFIG_NTFS3_64BIT_CLUSTER (like windows driver).\n"
+				"This driver is compiled without CONFIG_NTFS3_64BIT_CLUSTER (like windows driver).\n"
 				"Volume contains 64 bits run: vcn %llx, lcn %llx, len %llx.\n"
 				"Activate CONFIG_NTFS3_64BIT_CLUSTER to process this case",
 				vcn64, lcn, len);
Signature · 1 line
2.32.0
#1 lore raw
Quoted 14 lines · Colin King

From: Colin Ian King <[email protected]>

There is a spelling mistake in a ntfs_err error message. Fix it.

---
 fs/ntfs3/run.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ntfs3/run.c +0 -0
index 5cdf6efe67e0..f9c362ac672e 100644

fs/ntfs3/run.c int run_unpack(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino, · line 955

Quoted 8 lines
fs/ntfs3/run.c +1 -1
@@ -949,7 +949,7 @@ int run_unpack(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino,
 		if (next_vcn > 0x100000000ull || (lcn + len) > 0x100000000ull) {
 			ntfs_err(
 				sbi->sb,
-				"This driver is compiled whitout CONFIG_NTFS3_64BIT_CLUSTER (like windows driver).\n"
+				"This driver is compiled without CONFIG_NTFS3_64BIT_CLUSTER (like windows driver).\n"
 				"Volume contains 64 bits run: vcn %llx, lcn %llx, len %llx.\n"
 				"Activate CONFIG_NTFS3_64BIT_CLUSTER to process this case",
 				vcn64, lcn, len);

There is still other spelling typos what codespell catch. Why you just fix this one?

codespell -L iput,te,fo,ane,filp fs/ntfs3

	fs/ntfs3/debug.h:6: debuging ==> debugging
	fs/ntfs3/run.c:952: whitout ==> without, whiteout
	fs/ntfs3/super.c:127: formater ==> formatter
	fs/ntfs3/super.c:1211: formater ==> formatter
	fs/ntfs3/upcase.c:30: Straigth ==> Straight
	fs/ntfs3/lib/decompress_common.c:295: distingush ==> distinguish

If just this gets in then:
Reviewed-by Kari Argillander <[email protected]>

If you send v2 I will tag that again.

#2 lore raw
Quoted 10 lines · Kari Argillander
Quoted 9 lines · Colin King

From: Colin Ian King <[email protected]>

There is a spelling mistake in a ntfs_err error message. Fix it.

---
 fs/ntfs3/run.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines

fs/ntfs3/run.c int run_unpack(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino, · line 955

Quoted 13 lines
fs/ntfs3/run.c +1 -1
index 5cdf6efe67e0..f9c362ac672e 100644
@@ -949,7 +949,7 @@ int run_unpack(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino,
 		if (next_vcn > 0x100000000ull || (lcn + len) > 0x100000000ull) {
 			ntfs_err(
 				sbi->sb,
-				"This driver is compiled whitout CONFIG_NTFS3_64BIT_CLUSTER (like windows driver).\n"
+				"This driver is compiled without CONFIG_NTFS3_64BIT_CLUSTER (like windows driver).\n"
 				"Volume contains 64 bits run: vcn %llx, lcn %llx, len %llx.\n"
 				"Activate CONFIG_NTFS3_64BIT_CLUSTER to process this case",
 				vcn64, lcn, len);

There is still other spelling typos what codespell catch. Why you just fix this one?

Normally there are so many spelling mistakes in comments in the kernel I ignore these, as life it too short. I'm trying to first fix the user-facing text messages in errors and warnings etc..

Quoted 9 lines

codespell -L iput,te,fo,ane,filp fs/ntfs3

	fs/ntfs3/debug.h:6: debuging ==> debugging
	fs/ntfs3/run.c:952: whitout ==> without, whiteout
	fs/ntfs3/super.c:127: formater ==> formatter
	fs/ntfs3/super.c:1211: formater ==> formatter
	fs/ntfs3/upcase.c:30: Straigth ==> Straight
	fs/ntfs3/lib/decompress_common.c:295: distingush ==> distinguish

Yep, I'll fix these later in a V2.

Quoted 5 lines

If just this gets in then:
Reviewed-by Kari Argillander <[email protected]>

If you send v2 I will tag that again.

#3 lore raw
Quoted 28 lines · Colin Ian King
Quoted 10 lines · Kari Argillander
Quoted 9 lines · Colin King

From: Colin Ian King <[email protected]>

There is a spelling mistake in a ntfs_err error message. Fix it.

---
 fs/ntfs3/run.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines

fs/ntfs3/run.c int run_unpack(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino, · line 955

Quoted 13 lines
fs/ntfs3/run.c +1 -1
index 5cdf6efe67e0..f9c362ac672e 100644
@@ -949,7 +949,7 @@ int run_unpack(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino,
 		if (next_vcn > 0x100000000ull || (lcn + len) > 0x100000000ull) {
 			ntfs_err(
 				sbi->sb,
-				"This driver is compiled whitout CONFIG_NTFS3_64BIT_CLUSTER (like windows driver).\n"
+				"This driver is compiled without CONFIG_NTFS3_64BIT_CLUSTER (like windows driver).\n"
 				"Volume contains 64 bits run: vcn %llx, lcn %llx, len %llx.\n"
 				"Activate CONFIG_NTFS3_64BIT_CLUSTER to process this case",
 				vcn64, lcn, len);

There is still other spelling typos what codespell catch. Why you just fix this one?

Quoted 3 lines

Normally there are so many spelling mistakes in comments in the kernel I ignore these, as life it too short. I'm trying to first fix the user-facing text messages in errors and warnings etc..

Good point.

Quoted 10 lines
Quoted 8 lines

codespell -L iput,te,fo,ane,filp fs/ntfs3

	fs/ntfs3/debug.h:6: debuging ==> debugging
	fs/ntfs3/run.c:952: whitout ==> without, whiteout
	fs/ntfs3/super.c:127: formater ==> formatter
	fs/ntfs3/super.c:1211: formater ==> formatter
	fs/ntfs3/upcase.c:30: Straigth ==> Straight
	fs/ntfs3/lib/decompress_common.c:295: distingush ==> distinguish

Yep, I'll fix these later in a V2.

Thanks :)

Quoted 4 lines
Quoted 4 lines

If just this gets in then:
Reviewed-by Kari Argillander <[email protected]>

If you send v2 I will tag that again.