Skip to content
Snippets Groups Projects
Commit 3f96ee33 authored by Vadim Bendebury's avatar Vadim Bendebury Committed by Wolfgang Denk
Browse files

sf: fix debug format string warning


On some systems, we get a warning when %lu is used with size_t's, so
use the correct format string.

Signed-off-by: default avatarVadim Bendebury <vbendeb@chromium.org>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent ff25d32c
No related branches found
No related tags found
No related merge requests found
...@@ -233,7 +233,7 @@ int spi_flash_cmd_erase(struct spi_flash *flash, u8 erase_cmd, ...@@ -233,7 +233,7 @@ int spi_flash_cmd_erase(struct spi_flash *flash, u8 erase_cmd,
goto out; goto out;
} }
debug("SF: Successfully erased %lu bytes @ %#x\n", debug("SF: Successfully erased %zu bytes @ %#x\n",
len * erase_size, start); len * erase_size, start);
out: out:
......
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