Skip to content
Snippets Groups Projects
Commit 3ef1eadb authored by Tom Rini's avatar Tom Rini Committed by Scott Wood
Browse files

nand_util.c: Use '%zd' for length in nand_unlock debug print


length is size_t so needs to be '%zd' not '%d' to avoid warnings.

Cc: Scott Wood <scottwood@freescale.com>
Signed-off-by: default avatarTom Rini <trini@ti.com>
parent 2528460c
No related branches found
No related tags found
No related merge requests found
......@@ -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: %zd!\n",
allexcept ? " (allexcept)" : "", start, length);
/* select the NAND device */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment