projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8308a28
)
dfu: dfu_sf: use correct print code
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sun, 27 Dec 2020 08:58:05 +0000
(09:58 +0100)
committer
Marek Vasut
<marex@denx.de>
Sun, 7 Feb 2021 18:22:54 +0000
(19:22 +0100)
For printing unsigned int %u has to be used.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/dfu/dfu_sf.c
patch
|
blob
|
history
diff --git
a/drivers/dfu/dfu_sf.c
b/drivers/dfu/dfu_sf.c
index
318e43c
..
76b629a
100644
(file)
--- a/
drivers/dfu/dfu_sf.c
+++ b/
drivers/dfu/dfu_sf.c
@@
-131,7
+131,7
@@
static struct spi_flash *parse_dev(char *devstr)
dev = spi_flash_probe(bus, cs, speed, mode);
if (!dev) {
- printf("Failed to create SPI flash at %
d:%d:%d:%d
\n",
+ printf("Failed to create SPI flash at %
u:%u:%u:%u
\n",
bus, cs, speed, mode);
return NULL;
}