Skip to contentSkip to conversation

riscv: sbi: Add newline to error message

PATCH New Sean Anderson 3 participants 3 messages Jun 6, 2020 – Jun 9, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: sbi: Add newline to error message

---

 common/spl/spl_opensbi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
common/spl/spl_opensbi.c +1 -1
index e88136e6f3..14f335f75f 100644
@@ -56,7 +56,7 @@ void spl_invoke_opensbi(struct spl_image_info *spl_image)
 	/* Find U-Boot image in /fit-images */
 	ret = spl_opensbi_find_uboot_node(spl_image->fdt_addr, &uboot_node);
 	if (ret) {
-		pr_err("Can't find U-Boot node, %d", ret);
+		pr_err("Can't find U-Boot node, %d\n", ret);
 		hang();
 	}
 
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/1 riscv: sbi: Add newline to error message

Quoted 22 lines · Sean Anderson

---

 common/spl/spl_opensbi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
common/spl/spl_opensbi.c +1 -2
index e88136e6f3..14f335f75f 100644
@@ -56,7 +56,7 @@ void spl_invoke_opensbi(struct spl_image_info *spl_image)
        /* Find U-Boot image in /fit-images */
        ret = spl_opensbi_find_uboot_node(spl_image->fdt_addr, &uboot_node);
        if (ret) {
-               pr_err("Can't find U-Boot node, %d", ret);
+               pr_err("Can't find U-Boot node, %d\n", ret);
                hang();
        }
 
--
Quoted 2 lines

2.26.2

Signature · 2 lines
Regards,
Atish