Skip to contentSkip to conversation

drivers/tty/serial/mcf.c: fix typo on MCF_CONSOLE

PATCH Superseded Valentin Rothberg 2 participants 3 messages Apr 12, 2015 TTY layer and serial drivers

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/tty/serial/mcf.c: fix typo on MCF_CONSOLE

Correct reference in C-comment after #endif.

---
I found this issue with ./scripts/checkkconfigsymbols.py

---
 drivers/tty/serial/mcf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/mcf.c +1 -1
index a9b0ab38a68c..a61031eca1b7 100644
@@ -597,7 +597,7 @@ console_initcall(mcf_console_init);
 #define	MCF_CONSOLE	NULL
 
 /****************************************************************************/
-#endif /* CONFIG_MCF_CONSOLE */
+#endif /* MCF_CONSOLE */
 /****************************************************************************/
 
 /*
Signature · 1 line
2.1.0
#1 lore raw

Hi Valentin,

Quoted 14 lines · Valentin Rothberg

Correct reference in C-comment after #endif.

---
I found this issue with ./scripts/checkkconfigsymbols.py

---
 drivers/tty/serial/mcf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/mcf.c +0 -0
index a9b0ab38a68c..a61031eca1b7 100644

drivers/tty/serial/mcf.c console_initcall(mcf_console_init); · line 600

Quoted 5 lines
drivers/tty/serial/mcf.c +1 -1
@@ -597,7 +597,7 @@ console_initcall(mcf_console_init);
 #define	MCF_CONSOLE	NULL
 
 /****************************************************************************/
-#endif /* CONFIG_MCF_CONSOLE */
+#endif /* MCF_CONSOLE */

Please check your results; the correct change would be

#endif /* CONFIG_SERIAL_MCF_CONSOLE */

Regards,
Peter Hurley

Quoted 4 lines
drivers/tty/serial/mcf.c +0 -0
 /****************************************************************************/
 
 /*
#2 lore raw

Hi Peter,

Quoted 19 lines · Peter Hurley

Hi Valentin,

Quoted 16 lines · Valentin Rothberg

Correct reference in C-comment after #endif.

---
I found this issue with ./scripts/checkkconfigsymbols.py

---
 drivers/tty/serial/mcf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/mcf.c +0 -0
index a9b0ab38a68c..a61031eca1b7 100644
@@ -597,7 +597,7 @@ console_initcall(mcf_console_init);
 #define	MCF_CONSOLE	NULL
 
Quoted 7 lines

drivers/tty/serial/mcf.c console_initcall(mcf_console_init); · line 600

Quoted 3 lines
drivers/tty/serial/mcf.c +1 -1
 /****************************************************************************/
-#endif /* CONFIG_MCF_CONSOLE */
+#endif /* MCF_CONSOLE */

Please check your results; the correct change would be

#endif /* CONFIG_SERIAL_MCF_CONSOLE */

Thank you for catching that. That's what I intended to; sorry for this mistake. I'll send a second corrected version of this patch.

Kind regards,
Valentin

Quoted 8 lines

Regards,
Peter Hurley

Quoted 4 lines
drivers/tty/serial/mcf.c +0 -0
 /****************************************************************************/
 
 /*