projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2528460
)
nand_util.c: Use '%zd' for length in nand_unlock debug print
author
Tom Rini
<trini@ti.com>
Mon, 16 Dec 2013 14:59:34 +0000
(09:59 -0500)
committer
Scott Wood
<scottwood@freescale.com>
Tue, 17 Dec 2013 23:44:36 +0000
(17:44 -0600)
length is size_t so needs to be '%zd' not '%d' to avoid warnings.
Cc: Scott Wood <scottwood@freescale.com>
Signed-off-by: Tom Rini <trini@ti.com>
drivers/mtd/nand/nand_util.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/nand_util.c
b/drivers/mtd/nand/nand_util.c
index eeaa7e8a488b0e90e91cb0846013975162092776..b292826034f9f3964ae4278ed77314b953bcb761 100644
(file)
--- a/
drivers/mtd/nand/nand_util.c
+++ b/
drivers/mtd/nand/nand_util.c
@@
-315,7
+315,7
@@
int nand_unlock(struct mtd_info *mtd, loff_t start, size_t length,
int page;
struct nand_chip *chip = mtd->priv;
- debug("nand_unlock%s: start: %08llx, length: %d!\n",
+ debug("nand_unlock%s: start: %08llx, length: %
z
d!\n",
allexcept ? " (allexcept)" : "", start, length);
/* select the NAND device */