From: Thierry Reding Date: Fri, 20 Mar 2015 11:41:23 +0000 (+0100) Subject: usb: eth: asix: Build warning fixes for 64-bit X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=4c5998b77af081d4075a1fb8f19446a699949660;p=u-boot.git 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 --- 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;