diff mbox series

[1/1] dfu: newline after updating

Message ID 20210305173637.93908-1-xypron.glpk@gmx.de
State New
Delegated to: Lukasz Majewski
Headers show
Series [1/1] dfu: newline after updating | expand

Commit Message

Heinrich Schuchardt March 5, 2021, 5:36 p.m. UTC
Currently output of dfu commands ends on a line with leading hash signs
('#'). The succeeding output should be placed on a new line.

After writing updates via dfu print a new line.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 drivers/dfu/dfu.c | 1 +
 1 file changed, 1 insertion(+)

--
2.27.0
diff mbox series

Patch

diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c
index a298c2c439..2a0813fde8 100644
--- a/drivers/dfu/dfu.c
+++ b/drivers/dfu/dfu.c
@@ -718,6 +718,7 @@  int dfu_write_from_mem_addr(struct dfu_entity *dfu, void *buf, int size)
 	ret = dfu_flush(dfu, NULL, 0, i);
 	if (ret)
 		pr_err("DFU flush failed!");
+	puts("\n");

 	return ret;
 }