Skip to contentSkip to conversation

ARM: s3c: Fix typo in one comment

PATCH In review Jason Wang 2 participants 2 messages Nov 13, 2021 – Nov 15, 2021

Subsystems (3)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 ARM: s3c: Fix typo in one comment

The double `would' in the comment might be repeated. Remove one of them from the comment.

---
 arch/arm/mach-s3c/mach-gta02.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/mach-s3c/mach-gta02.c +3 -3
index 418939ce0fc3..174b2e55ea16 100644
@@ -393,9 +393,9 @@ static struct s3c2410_nand_set __initdata gta02_nand_sets[] = {
 	[0] = {
 		/*
 		 * This name is also hard-coded in the boot loaders, so
-		 * changing it would would require all users to upgrade
-		 * their boot loaders, some of which are stored in a NOR
-		 * that is considered to be immutable.
+		 * changing it would require all users to upgrade their
+		 * boot loaders, some of which are stored in a NOR that
+		 * is considered to be immutable.
 		 */
 		.name		= "neo1973-nand",
 		.nr_chips	= 1,
Signature · 1 line
2.33.0
#1 lore raw
Quoted 13 lines · Jason Wang

The double `would' in the comment might be repeated. Remove one of them from the comment.

---
 arch/arm/mach-s3c/mach-gta02.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/mach-s3c/mach-gta02.c +0 -0
index 418939ce0fc3..174b2e55ea16 100644

arch/arm/mach-s3c/mach-gta02.c static struct s3c2410_nand_set __initdata gta02_nand_sets[] = { · line 399

Quoted 10 lines
arch/arm/mach-s3c/mach-gta02.c +3 -3
@@ -393,9 +393,9 @@ static struct s3c2410_nand_set __initdata gta02_nand_sets[] = {
 	[0] = {
 		/*
 		 * This name is also hard-coded in the boot loaders, so
-		 * changing it would would require all users to upgrade
-		 * their boot loaders, some of which are stored in a NOR
-		 * that is considered to be immutable.
+		 * changing it would require all users to upgrade their
+		 * boot loaders, some of which are stored in a NOR that
+		 * is considered to be immutable.
 		 */

This is a legacy platform, bigger set of cleanups are accepted but a patch which changes only one typo, is not. Especially that you change here three lines for this simple one typo.

Please send a bigger cleanup for all of such issues or skip it.

Best regards,
Krzysztof