imx: nandbcb: Fix printf format in write_fcb
Subsystems (3)
PATCH 1/1 imx: nandbcb: Fix printf format in write_fcb
Correct printf format for unsigned long long is %llx and not %llxx.
Signed-off-by Pali Rohár <[email protected]>
--- arch/arm/mach-imx/cmd_nandbcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-imx/cmd_nandbcb.c +1 -1
@@ -650,7 +650,7 @@ static int write_fcb(struct boot_config *boot_cfg, struct fcb_block *fcb) }; ret =mtd_write_oob (mtd, off, &ops); -printf ("NAND FCB write to 0x%llxx offset 0x%zx written: %s\n" , off, ops.len, ret ?"ERROR" :"OK" ); +printf ("NAND FCB write to 0x%llx offset 0x%zx written: %s\n" , off, ops.len, ret ?"ERROR" :"OK" ); }if (ret)
Signature · 1 line
2.20.1
PING?
Quoted 23 lines · On Wednesday 20 October 2021 11:13:15 Pali Rohár wrote:
Correct printf format for unsigned long long is %llx and not %llxx.
Signed-off-by Pali Rohár <[email protected]>--- arch/arm/mach-imx/cmd_nandbcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-imx/cmd_nandbcb.c +1
-1@@ -650,7 +650,7 @@ static int write_fcb(struct boot_config *boot_cfg, struct fcb_block *fcb) }; ret =mtd_write_oob (mtd, off, &ops); -printf ("NAND FCB write to 0x%llxx offset 0x%zx written: %s\n" , off, ops.len, ret ?"ERROR" :"OK" ); +printf ("NAND FCB write to 0x%llx offset 0x%zx written: %s\n" , off, ops.len, ret ?"ERROR" :"OK" ); }if (ret)Signature · 1 line
2.20.1
Just friendly reminder for this patch...
Quoted 26 lines · On Tuesday 07 December 2021 21:43:09 Pali Rohár wrote:
PING?
Quoted 23 lines · On Wednesday 20 October 2021 11:13:15 Pali Rohár wrote:
Correct printf format for unsigned long long is %llx and not %llxx.
Signed-off-by Pali Rohár <[email protected]>--- arch/arm/mach-imx/cmd_nandbcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-imx/cmd_nandbcb.c +1
-1@@ -650,7 +650,7 @@ static int write_fcb(struct boot_config *boot_cfg, struct fcb_block *fcb) }; ret =mtd_write_oob (mtd, off, &ops); -printf ("NAND FCB write to 0x%llxx offset 0x%zx written: %s\n" , off, ops.len, ret ?"ERROR" :"OK" ); +printf ("NAND FCB write to 0x%llx offset 0x%zx written: %s\n" , off, ops.len, ret ?"ERROR" :"OK" ); }if (ret)Signature · 1 line
2.20.1
Quoted 4 lines · Pali Rohár
Correct printf format for unsigned long long is %llx and not %llxx.
Signed-off-by Pali Rohár <[email protected]>
Reviewed-by Fabio Estevam <[email protected]>
PATCH 1/1 imx: nandbcb: Fix printf format in write_fcb
In reply to Pali RohárQuoted 3 lines
Correct printf format for unsigned long long is %llx and not %llxx.
Signed-off-by Pali Rohár <[email protected]>Reviewed-by Fabio Estevam <[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] =====================================================================