From 4c5998b77af081d4075a1fb8f19446a699949660 Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Fri, 20 Mar 2015 12:41:23 +0100 Subject: [PATCH] usb: eth: asix: Build warning fixes for 64-bit Fix a type mismatch in a printf format string. Cc: Marek Vasut Signed-off-by: Thierry Reding --- 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 11811094ed..1cd179baae 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.39.5