Skip to contentSkip to conversation

watchdog: bcm2835: add newline to dev_info message

PATCH Superseded Artem Novak 2 participants 4 messages Nov 22

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

PATCH 1/1 watchdog: bcm2835: add newline to dev_info message

---
 drivers/watchdog/bcm2835_wdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/bcm2835_wdt.c +1 -1
index 755954cbadee..df08236d2689 100644
@@ -213,7 +213,7 @@ static int bcm2835_wdt_probe(struct platform_device *pdev)
 					      SYS_OFF_PRIO_DEFAULT,
 					      bcm2835_power_off, wdt);
 
-	dev_info(dev, "Broadcom BCM2835 watchdog timer");
+	dev_info(dev, "Broadcom BCM2835 watchdog timer\n");
 	return 0;
 }
 
Signature · 1 line
2.56.1
#2 lore raw

PATCH v2 1/1 watchdog: bcm2835: add newline to dev_info message

In reply to Artem Novak

Add a newline to the watchdog timer initialization message so that the message is properly terminated in the kernel log.

---
 drivers/watchdog/bcm2835_wdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/bcm2835_wdt.c +1 -1
index 755954cbadee..df08236d2689 100644
@@ -213,7 +213,7 @@ static int bcm2835_wdt_probe(struct platform_device *pdev)
 					      SYS_OFF_PRIO_DEFAULT,
 					      bcm2835_power_off, wdt);
 
-	dev_info(dev, "Broadcom BCM2835 watchdog timer");
+	dev_info(dev, "Broadcom BCM2835 watchdog timer\n");
 	return 0;
 }
 
Signature · 1 line
2.56.1
maintainer Applied
#3 lore raw
Quoted 4 lines · Artem Novak

Add a newline to the watchdog timer initialization message so that the message is properly terminated in the kernel log.

Applied.

Quoted 1 line

---

For future patches: Change log goes here.

Thanks,
Guenter

Quoted 16 lines
 drivers/watchdog/bcm2835_wdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/bcm2835_wdt.c +1 -1
index 755954cbadee..df08236d2689 100644
@@ -213,7 +213,7 @@ static int bcm2835_wdt_probe(struct platform_device *pdev)
 					      SYS_OFF_PRIO_DEFAULT,
 					      bcm2835_power_off, wdt);
 
-	dev_info(dev, "Broadcom BCM2835 watchdog timer");
+	dev_info(dev, "Broadcom BCM2835 watchdog timer\n");
 	return 0;
 }