Fixes: .../altera_serial.c:118:2: warning: too many arguments for format Also sz is of type size_t, so use proper format specifier. Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> --- drivers/firmware/altera_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/altera_serial.c b/drivers/firmware/altera_serial.c index 232f1a682619..c5ffbb6393bb 100644 --- a/drivers/firmware/altera_serial.c +++ b/drivers/firmware/altera_serial.c @@ -113,7 +113,7 @@ static int altera_spi_write(struct firmware_handler *fh, const void *buf, size_t u32 dummy; int ret; - dev_dbg(dev, "Start writing %d bytes.\n", __func__, sz); + dev_dbg(dev, "Start writing %zu bytes.\n", sz); spi_message_init(&m); -- 2.1.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox