[PATCH v2 1/2] usb: host: ehci: fix mismatch in format string
Ahmad Fatoum
a.fatoum at pengutronix.de
Thu Dec 3 05:42:56 EST 2020
sz is of type size_t. Use the appropriate format string specifier for
printing it.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
Cc: ukl at pengutronix.de
v1 -> v2: fix broken English in commit message (Uwe)
---
drivers/usb/host/ehci-hcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 38999927c5a8..287849102d68 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;
}
--
2.29.2
More information about the barebox
mailing list