mirror of
https://xff.cz/git/u-boot/
synced 2025-09-07 19:52:15 +02:00
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: Tom Rini <trini@ti.com>
This commit is contained in:
@@ -315,7 +315,7 @@ int nand_unlock(struct mtd_info *mtd, loff_t start, size_t length,
|
|||||||
int page;
|
int page;
|
||||||
struct nand_chip *chip = mtd->priv;
|
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);
|
allexcept ? " (allexcept)" : "", start, length);
|
||||||
|
|
||||||
/* select the NAND device */
|
/* select the NAND device */
|
||||||
|
Reference in New Issue
Block a user