fix format specifiers
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
0831642edc
commit
8f8a18906b
|
@ -312,7 +312,7 @@ static int bootm_open_oftree(struct image_data *data, const char *oftree, int nu
|
|||
static void bootm_print_info(struct image_data *data)
|
||||
{
|
||||
if (data->os_res)
|
||||
printf("OS image is at 0x%08x-0x%08x\n",
|
||||
printf("OS image is at " PRINTF_CONVERSION_RESOURCE "-" PRINTF_CONVERSION_RESOURCE "\n",
|
||||
data->os_res->start,
|
||||
data->os_res->end);
|
||||
else
|
||||
|
@ -329,7 +329,7 @@ static void bootm_print_info(struct image_data *data)
|
|||
printf(", multifile image %d", data->initrd_num);
|
||||
printf("\n");
|
||||
if (data->initrd_res)
|
||||
printf("initrd is at 0x%08x-0x%08x\n",
|
||||
printf("initrd is at " PRINTF_CONVERSION_RESOURCE "-" PRINTF_CONVERSION_RESOURCE "\n",
|
||||
data->initrd_res->start,
|
||||
data->initrd_res->end);
|
||||
else
|
||||
|
|
|
@ -353,7 +353,9 @@ static int uimage_sdram_flush(void *buf, unsigned int len)
|
|||
uimage_resource = request_sdram_region("uimage",
|
||||
start, size);
|
||||
if (!uimage_resource) {
|
||||
printf("unable to request SDRAM 0x%08x-0x%08x\n",
|
||||
printf("unable to request SDRAM "
|
||||
PRINTF_CONVERSION_RESOURCE "-"
|
||||
PRINTF_CONVERSION_RESOURCE "\n",
|
||||
start, start + size - 1);
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
|
|
@ -117,8 +117,8 @@ static ssize_t at25_ee_read(struct cdev *cdev,
|
|||
*/
|
||||
status = spi_sync(at25->spi, &m);
|
||||
dev_dbg(at25->cdev.dev,
|
||||
"read %d bytes at %llu --> %d\n",
|
||||
count, offset, (int) status);
|
||||
"read %zd bytes at %llu --> %zd\n",
|
||||
count, offset, status);
|
||||
|
||||
return status ? status : count;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue