[U-Boot] [PATCH 08/13] usb: eth: asix: Build warning fixes for 64-bit

Thierry Reding thierry.reding at gmail.com
Fri Mar 20 12:41:23 CET 2015


From: Thierry Reding <treding at nvidia.com>

Fix a type mismatch in a printf format string.

Cc: Marek Vasut <marex at denx.de>
Signed-off-by: Thierry Reding <treding at nvidia.com>
---
 drivers/usb/eth/asix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c
index 11811094ede8..1cd179baaea7 100644
--- a/drivers/usb/eth/asix.c
+++ b/drivers/usb/eth/asix.c
@@ -475,7 +475,7 @@ static int asix_send(struct eth_device *eth, void *packet, int length)
 				length + sizeof(packet_len),
 				&actual_len,
 				USB_BULK_SEND_TIMEOUT);
-	debug("Tx: len = %u, actual = %u, err = %d\n",
+	debug("Tx: len = %zu, actual = %u, err = %d\n",
 			length + sizeof(packet_len), actual_len, err);
 
 	return err;
-- 
2.3.2



More information about the U-Boot mailing list