ソースを参照

dm: core: Add \n to two dm_warn() messages

These should finish with a newline like the others.

Signed-off-by: Simon Glass <sjg@chromium.org>
Simon Glass 10 年 前
コミット
36d7cc17bd
1 ファイル変更2 行追加2 行削除
  1. 2 2
      drivers/core/device.c

+ 2 - 2
drivers/core/device.c

@@ -329,7 +329,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;
 	}
 
@@ -339,7 +339,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;
 	}