[U-Boot] [U-Boot, v2] nand_util.c: Use '%zd' for length in nand_unlock debug print

Scott Wood scottwood at freescale.com
Wed Dec 18 00:45:28 CET 2013


On Mon, Dec 16, 2013 at 09:59:34AM -0500, Tom Rini wrote:
> length is size_t so needs to be '%zd' not '%d' to avoid warnings.
> 
> Cc: Scott Wood <scottwood at freescale.com>
> Signed-off-by: Tom Rini <trini at ti.com>
> Acked-by: Scott Wood <scottwood at freescale.com>
> 
> ---
> Changes in v2:
> - Use %zd, the correct format, rather than %ld, a differntly incorrect
>   one.
> ---
>  drivers/mtd/nand/nand_util.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-nand-flash.git

-Scott


More information about the U-Boot mailing list