summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-12-03 11:42:56 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-12-07 08:21:30 +0100
commit8b65d4b7c5ef484343d3e955ab01b178af80502c (patch)
tree5713eaa5ed5f1959f8ee29a5edc2af8d8fdd62b9
parentf382be77f8c02cbaa94dc2664c3ab0d46775cab9 (diff)
downloadbarebox-8b65d4b7c5ef484343d3e955ab01b178af80502c.tar.gz
barebox-8b65d4b7c5ef484343d3e955ab01b178af80502c.tar.xz
usb: host: ehci: fix mismatch in format string
sz is of type size_t. Use the appropriate format string specifier for printing it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/usb/host/ehci-hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 38999927c5..287849102d 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -240,7 +240,7 @@ static int ehci_td_buffer(struct qTD *td, dma_addr_t addr, size_t sz)
}
if (idx == buffer_count) {
- pr_debug("out of buffer pointers (%u bytes left)\n", sz);
+ pr_debug("out of buffer pointers (%zu bytes left)\n", sz);
return -ENOMEM;
}