Skip to contentSkip to conversation

Add a space (and a comma) to a printk

PATCH Applied Paul Bolle 2 participants 2 messages Dec 30, 2008 – Jan 3, 2009

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 Add a space (and a comma) to a printk

Commit d87a6d9 ("drivers/serial/: remove CVS keywords") removed one space too many in the printk in serial8250_init(). Put it back in (and add a comma for clarity).

---

drivers/serial/8250.c +1 -1
index 303272a..31b3c08 100644
@@ -3018,7 +3018,7 @@ static int __init serial8250_init(void)
 	if (nr_uarts > UART_NR)
 		nr_uarts = UART_NR;
 
-	printk(KERN_INFO "Serial: 8250/16550 driver"
+	printk(KERN_INFO "Serial: 8250/16550 driver, "
 		"%d ports, IRQ sharing %sabled\n", nr_uarts,
 		share_irqs ? "en" : "dis");
 
Applied
#1 lore raw
Quoted 11 lines · Paul Bolle

Commit d87a6d9 ("drivers/serial/: remove CVS keywords") removed one space too many in the printk in serial8250_init(). Put it back in (and add a comma for clarity).

---

drivers/serial/8250.c +0 -0
index 303272a..31b3c08 100644

drivers/serial/8250.c static int __init serial8250_init(void) · line 3023

Quoted 7 lines
drivers/serial/8250.c +1 -1
@@ -3018,7 +3018,7 @@ static int __init serial8250_init(void)
 	if (nr_uarts > UART_NR)
 		nr_uarts = UART_NR;
 
-	printk(KERN_INFO "Serial: 8250/16550 driver"
+	printk(KERN_INFO "Serial: 8250/16550 driver, "
 		"%d ports, IRQ sharing %sabled\n", nr_uarts,
 		share_irqs ? "en" : "dis");

Queued in trivial tree, thanks Paul.

Signature · 2 lines
Jiri Kosina
SUSE Labs