public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] imx: nandbcb: Fix printf format in write_fcb
@ 2021-10-20  9:13 Pali Rohár
  2021-12-07 20:43 ` Pali Rohár
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Pali Rohár @ 2021-10-20  9:13 UTC (permalink / raw)
  To: Stefano Babic, Fabio Estevam; +Cc: NXP i.MX U-Boot Team, u-boot

Correct printf format for unsigned long long is %llx and not %llxx.

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 arch/arm/mach-imx/cmd_nandbcb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-imx/cmd_nandbcb.c b/arch/arm/mach-imx/cmd_nandbcb.c
index 09622c13c980..646da0198660 100644
--- a/arch/arm/mach-imx/cmd_nandbcb.c
+++ b/arch/arm/mach-imx/cmd_nandbcb.c
@@ -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)
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-02-05 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-20  9:13 [PATCH] imx: nandbcb: Fix printf format in write_fcb Pali Rohár
2021-12-07 20:43 ` Pali Rohár
2022-01-13 14:33   ` Pali Rohár
2022-01-15 13:51 ` Fabio Estevam
2022-02-05 16:40 ` sbabic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox