projects
/
karo-tx-uboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ff25d32
)
sf: fix debug format string warning
author
Vadim Bendebury
<vbendeb@chromium.org>
Sun, 11 Sep 2011 18:54:48 +0000
(18:54 +0000)
committer
Wolfgang Denk
<wd@denx.de>
Wed, 21 Sep 2011 21:05:15 +0000
(23:05 +0200)
On some systems, we get a warning when %lu is used with size_t's, so
use the correct format string.
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/mtd/spi/spi_flash.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi/spi_flash.c
b/drivers/mtd/spi/spi_flash.c
index
730c009
..
ced4c94
100644
(file)
--- a/
drivers/mtd/spi/spi_flash.c
+++ b/
drivers/mtd/spi/spi_flash.c
@@
-233,7
+233,7
@@
int spi_flash_cmd_erase(struct spi_flash *flash, u8 erase_cmd,
goto out;
}
goto out;
}
- debug("SF: Successfully erased %
l
u bytes @ %#x\n",
+ debug("SF: Successfully erased %
z
u bytes @ %#x\n",
len * erase_size, start);
out:
len * erase_size, start);
out: