Skip to contentSkip to conversation

powerpc/85xx: Fix typo in code comment

PATCH Applied Dario Binacchi 3 participants 4 messages Nov 24, 2023 – Dec 7, 2023

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

PATCH 1/1 powerpc/85xx: Fix typo in code comment

s/singals/signals/

Fixes 04e358d896a7 ("powerpc/85xx: Add Quicc Engine support for p1025rdb")

---

 arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/85xx/mpc85xx_rdb.c +1 -1
index ec9f60fbebc7..e0cec670d8db 100644
@@ -76,7 +76,7 @@ static void __init mpc85xx_rdb_setup_arch(void)
 			/* P1025 has pins muxed for QE and other functions. To
 			* enable QE UEC mode, we need to set bit QE0 for UCC1
 			* in Eth mode, QE0 and QE3 for UCC5 in Eth mode, QE9
-			* and QE12 for QE MII management singals in PMUXCR
+			* and QE12 for QE MII management signals in PMUXCR
 			* register.
 			*/
 				setbits32(&guts->pmuxcr, MPC85xx_PMUXCR_QE(0) |
Signature · 1 line
2.42.0
#1 lore raw

Le 24/11/2023 à 11:02, Dario Binacchi a écrit :

Quoted 1 line

s/singals/signals/

Is that really worth it to spend time on such a change ?

By sending such a patch, you require people to spend time reviewing your patch, then maintainer has to spend time handling your patch. Furthermore, as you added a Fixes: tag, LTS maintainers will have to spend time handling that too.

Do you really think that this typo is worth a patch ?

This kind of tiny error should be fixed through a more significant patch adressing this file. But it is not worth a patch on its own.

Christophe

Quoted 21 lines
Fixes 04e358d896a7 ("powerpc/85xx: Add Quicc Engine support for p1025rdb")

---

  arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/85xx/mpc85xx_rdb.c +1 -1
index ec9f60fbebc7..e0cec670d8db 100644
@@ -76,7 +76,7 @@ static void __init mpc85xx_rdb_setup_arch(void)
  			/* P1025 has pins muxed for QE and other functions. To
  			* enable QE UEC mode, we need to set bit QE0 for UCC1
  			* in Eth mode, QE0 and QE3 for UCC5 in Eth mode, QE9
-			* and QE12 for QE MII management singals in PMUXCR
+			* and QE12 for QE MII management signals in PMUXCR
  			* register.
  			*/
  				setbits32(&guts->pmuxcr, MPC85xx_PMUXCR_QE(0) |
#2 lore raw
Quoted 13 lines · Christophe Leroy
Quoted 1 line · Dario Binacchi

s/singals/signals/

Is that really worth it to spend time on such a change ?

By sending such a patch, you require people to spend time reviewing your patch, then maintainer has to spend time handling your patch. Furthermore, as you added a Fixes: tag, LTS maintainers will have to spend time handling that too.

Quoted 4 lines

Do you really think that this typo is worth a patch ?

This kind of tiny error should be fixed through a more significant patch adressing this file. But it is not worth a patch on its own.

It's not the first time I've submitted patches of this kind, and no one has ever complained before. However, if it has become an issue, I won't do it anymore.

Thanks and regards,
Dario

Quoted 25 lines

Christophe

Quoted 21 lines
Fixes 04e358d896a7 ("powerpc/85xx: Add Quicc Engine support for p1025rdb")

---

  arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/85xx/mpc85xx_rdb.c +1 -1
index ec9f60fbebc7..e0cec670d8db 100644
@@ -76,7 +76,7 @@ static void __init mpc85xx_rdb_setup_arch(void)
                      /* P1025 has pins muxed for QE and other functions. To
                      * enable QE UEC mode, we need to set bit QE0 for UCC1
                      * in Eth mode, QE0 and QE3 for UCC5 in Eth mode, QE9
-                     * and QE12 for QE MII management singals in PMUXCR
+                     * and QE12 for QE MII management signals in PMUXCR
                      * register.
                      */
                              setbits32(&guts->pmuxcr, MPC85xx_PMUXCR_QE(0) |
Signature · 17 lines
Dario Binacchi

Senior Embedded Linux Developer

[email protected]

__________________________________


Amarula Solutions SRL

Via Le Canevare 30, 31100 Treviso, Veneto, IT

T. +39 042 243 5310
[email protected]

www.amarulasolutions.com