arm: imx: parse-container: add some missing end of line
Subsystems (3)
PATCH 1/1 arm: imx: parse-container: add some missing end of line
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 <[email protected]>
--- arch/arm/mach-imx/parse-container.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-imx/parse-container.c +2 -2
@@ -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 ; }
Signature · 1 line
2.32.0
Hi Clément,
Quoted 5 lines · 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 <[email protected]>
Thanks for the patch:
Reviewed-by Fabio Estevam <[email protected]>
Quoted 4 lines · 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 <[email protected]>
Reviewed-by Peng Fan <[email protected]>
Quoted 24 lines
--- arch/arm/mach-imx/parse-container.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arm/mach-imx/parse-container.c +2
-2@@ -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 ; }
PATCH 1/1 arm: imx: parse-container: add some missing end of line
In reply to Clément PéronQuoted 5 lines
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 <[email protected]>Reviewed-by Fabio Estevam <[email protected]>Reviewed-by Peng Fan <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== 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: [email protected] =====================================================================