diff mbox series

riscv: sbi: Add newline to error message

Message ID 20200606192603.1275557-1-seanga2@gmail.com
State Accepted
Commit 7984922fb252942534a108cb72fb7d53d1a16f55
Headers show
Series riscv: sbi: Add newline to error message | expand

Commit Message

Sean Anderson June 6, 2020, 7:26 p.m. UTC
Signed-off-by: Sean Anderson <seanga2 at gmail.com>

---

 common/spl/spl_opensbi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Atish Patra June 8, 2020, 5:21 p.m. UTC | #1
On Sat, Jun 6, 2020 at 12:26 PM Sean Anderson <seanga2 at gmail.com> wrote:
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
>
> ---
>
>  common/spl/spl_opensbi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/common/spl/spl_opensbi.c b/common/spl/spl_opensbi.c
> index e88136e6f3..14f335f75f 100644
> --- a/common/spl/spl_opensbi.c
> +++ b/common/spl/spl_opensbi.c
> @@ -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();
>         }
>
> --
> 2.26.2
>


Reviewed-by: Atish Patra <atish.patra at wdc.com>
Bin Meng June 9, 2020, 4:53 a.m. UTC | #2
On Sun, Jun 7, 2020 at 3:26 AM Sean Anderson <seanga2 at gmail.com> wrote:
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
>
> ---
>
>  common/spl/spl_opensbi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bin.meng at windriver.com>
diff mbox series

Patch

diff --git a/common/spl/spl_opensbi.c b/common/spl/spl_opensbi.c
index e88136e6f3..14f335f75f 100644
--- a/common/spl/spl_opensbi.c
+++ b/common/spl/spl_opensbi.c
@@ -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();
 	}