diff options
author | Lucas Stach <dev@lynxeye.de> | 2014-04-21 22:15:22 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-04-23 09:05:51 +0200 |
commit | 9c63e92baaea8fd35d9892e197a97d3bb39079f4 (patch) | |
tree | 2375a04e74f083894db37d4bf8a2fa78619d46bc /arch/arm/mach-imx/imx-bbu-internal.c | |
parent | 86afb22eae1230a84a7835dd370a0a744c92cb74 (diff) | |
download | barebox-9c63e92baaea8fd35d9892e197a97d3bb39079f4.tar.gz barebox-9c63e92baaea8fd35d9892e197a97d3bb39079f4.tar.xz |
treewide: fix signedness mixups in printf format specifiers
This most likely doesn't fix any real bugs, but it's the
right thing to do and reduces the noise level with static
checkers.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/imx-bbu-internal.c')
-rw-r--r-- | arch/arm/mach-imx/imx-bbu-internal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/imx-bbu-internal.c b/arch/arm/mach-imx/imx-bbu-internal.c index 9861c0782b..308a0bd9b8 100644 --- a/arch/arm/mach-imx/imx-bbu-internal.c +++ b/arch/arm/mach-imx/imx-bbu-internal.c @@ -281,12 +281,12 @@ static int imx_bbu_internal_v2_write_nand_dbbt(struct imx_internal_bbu_handler * } } - debug("total image size: 0x%08x. Space needed including bad blocks: 0x%08x\n", + debug("total image size: 0x%08zx. Space needed including bad blocks: 0x%08zx\n", data->len + 0x8000, data->len + 0x8000 + *num_bb * blocksize); if (data->len + 0x8000 + *num_bb * blocksize > imx_handler->device_size) { - printf("needed space (0x%08x) exceeds partition space (0x%08x)\n", + printf("needed space (0x%08zx) exceeds partition space (0x%08zx)\n", data->len + 0x8000 + *num_bb * blocksize, imx_handler->device_size); ret = -ENOSPC; |