projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91f27f3
)
imx: nandbcb: Fix printf format in write_fcb
author
Pali Rohár
<pali@kernel.org>
Wed, 20 Oct 2021 09:13:15 +0000
(11:13 +0200)
committer
Stefano Babic
<sbabic@denx.de>
Sat, 5 Feb 2022 12:38:38 +0000
(13:38 +0100)
Correct printf format for unsigned long long is %llx and not %llxx.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/mach-imx/cmd_nandbcb.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/cmd_nandbcb.c
b/arch/arm/mach-imx/cmd_nandbcb.c
index 09622c13c9808410c987d316a2fa209066a38083..646da0198660e51ddef69fc79c24e34928381dca 100644
(file)
--- 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%llx
x
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)