* [PATCH] arm: imx: parse-container: add some missing end of line
@ 2022-03-30 11:49 Clément Péron
2022-03-30 11:57 ` Fabio Estevam
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Clément Péron @ 2022-03-30 11:49 UTC (permalink / raw)
To: Stefano Babic, Fabio Estevam, NXP i . MX U-Boot Team
Cc: u-boot, Clément Péron
Some printf() have strings that doesn't terminate with end of line
and make the output hard to read.
Signed-off-by: Clément Péron <peron.clem@gmail.com>
---
arch/arm/mach-imx/parse-container.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-imx/parse-container.c b/arch/arm/mach-imx/parse-container.c
index 039a4c7303..a4214d5376 100644
--- a/arch/arm/mach-imx/parse-container.c
+++ b/arch/arm/mach-imx/parse-container.c
@@ -142,12 +142,12 @@ static int read_auth_container(struct spl_image_info *spl_image,
return -EIO;
if (container->tag != 0x87 && container->version != 0x0) {
- printf("Wrong container header");
+ printf("Wrong container header\n");
return -ENOENT;
}
if (!container->num_images) {
- printf("Wrong container, no image found");
+ printf("Wrong container, no image found\n");
return -ENOENT;
}
--
2.32.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm: imx: parse-container: add some missing end of line
2022-03-30 11:49 [PATCH] arm: imx: parse-container: add some missing end of line Clément Péron
@ 2022-03-30 11:57 ` Fabio Estevam
2022-04-07 3:59 ` Peng Fan (OSS)
2022-04-12 18:43 ` sbabic
2 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2022-03-30 11:57 UTC (permalink / raw)
To: Clément Péron
Cc: Stefano Babic, NXP i . MX U-Boot Team, U-Boot-Denx
Hi Clément,
On Wed, Mar 30, 2022 at 8:49 AM Clément Péron <peron.clem@gmail.com> wrote:
>
> Some printf() have strings that doesn't terminate with end of line
> and make the output hard to read.
>
> Signed-off-by: Clément Péron <peron.clem@gmail.com>
Thanks for the patch:
Reviewed-by: Fabio Estevam <festevam@denx.de>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm: imx: parse-container: add some missing end of line
2022-03-30 11:49 [PATCH] arm: imx: parse-container: add some missing end of line Clément Péron
2022-03-30 11:57 ` Fabio Estevam
@ 2022-04-07 3:59 ` Peng Fan (OSS)
2022-04-12 18:43 ` sbabic
2 siblings, 0 replies; 4+ messages in thread
From: Peng Fan (OSS) @ 2022-04-07 3:59 UTC (permalink / raw)
To: Clément Péron, Stefano Babic, Fabio Estevam, dl-uboot-imx
Cc: u-boot
On 2022/3/30 19:49, Clément Péron wrote:
> Some printf() have strings that doesn't terminate with end of line
> and make the output hard to read.
>
> Signed-off-by: Clément Péron <peron.clem@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
> ---
> arch/arm/mach-imx/parse-container.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-imx/parse-container.c b/arch/arm/mach-imx/parse-container.c
> index 039a4c7303..a4214d5376 100644
> --- a/arch/arm/mach-imx/parse-container.c
> +++ b/arch/arm/mach-imx/parse-container.c
> @@ -142,12 +142,12 @@ static int read_auth_container(struct spl_image_info *spl_image,
> return -EIO;
>
> if (container->tag != 0x87 && container->version != 0x0) {
> - printf("Wrong container header");
> + printf("Wrong container header\n");
> return -ENOENT;
> }
>
> if (!container->num_images) {
> - printf("Wrong container, no image found");
> + printf("Wrong container, no image found\n");
> return -ENOENT;
> }
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] arm: imx: parse-container: add some missing end of line
2022-03-30 11:49 [PATCH] arm: imx: parse-container: add some missing end of line Clément Péron
2022-03-30 11:57 ` Fabio Estevam
2022-04-07 3:59 ` Peng Fan (OSS)
@ 2022-04-12 18:43 ` sbabic
2 siblings, 0 replies; 4+ messages in thread
From: sbabic @ 2022-04-12 18:43 UTC (permalink / raw)
To: Clément Péron, u-boot
> Some printf() have strings that doesn't terminate with end of line
> and make the output hard to read.
> Signed-off-by: Clément Péron <peron.clem@gmail.com>
> Reviewed-by: Fabio Estevam <festevam@denx.de>
> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-12 18:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-30 11:49 [PATCH] arm: imx: parse-container: add some missing end of line Clément Péron
2022-03-30 11:57 ` Fabio Estevam
2022-04-07 3:59 ` Peng Fan (OSS)
2022-04-12 18:43 ` sbabic
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.