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 <>
Signed-off-by: default avatarMike Frysinger <>
parent ff25d32c
......@@ -233,7 +233,7 @@ int spi_flash_cmd_erase(struct spi_flash *flash, u8 erase_cmd,
goto out;
debug("SF: Successfully erased %lu bytes @ %#x\n",
debug("SF: Successfully erased %zu bytes @ %#x\n",
len * erase_size, start);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment