[PATCH] arm: imx: parse-container: add some missing end of line
Peng Fan (OSS)
peng.fan at oss.nxp.com
Thu Apr 7 05:59:08 CEST 2022
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 at gmail.com>
Reviewed-by: Peng Fan <peng.fan at 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;
> }
>
>
More information about the U-Boot
mailing list