[U-Boot] [PATCH 01/18] dm: core: Add \n to two dm_warn() messages

Simon Glass sjg at chromium.org
Tue Jul 7 00:47:40 CEST 2015


These should finish with a newline like the others.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/core/device.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/core/device.c b/drivers/core/device.c
index 85fd1fc..eebb53c 100644
--- a/drivers/core/device.c
+++ b/drivers/core/device.c
@@ -330,7 +330,7 @@ void *dev_get_platdata(struct udevice *dev)
 void *dev_get_parent_platdata(struct udevice *dev)
 {
 	if (!dev) {
-		dm_warn("%s: null device", __func__);
+		dm_warn("%s: null device\n", __func__);
 		return NULL;
 	}
 
@@ -340,7 +340,7 @@ void *dev_get_parent_platdata(struct udevice *dev)
 void *dev_get_uclass_platdata(struct udevice *dev)
 {
 	if (!dev) {
-		dm_warn("%s: null device", __func__);
+		dm_warn("%s: null device\n", __func__);
 		return NULL;
 	}
 
-- 
2.4.3.573.g4eafbef



More information about the U-Boot mailing list