diff options
author | Thierry Reding <treding@nvidia.com> | 2015-03-20 12:41:23 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-04-14 05:47:47 +0200 |
commit | 4c5998b77af081d4075a1fb8f19446a699949660 (patch) | |
tree | 9e66173174aed319a7cff8cfa7e6e8ace2854ade | |
parent | cd749658d5994978579628a6333e5c2a6c8ec632 (diff) | |
download | u-boot-imx-4c5998b77af081d4075a1fb8f19446a699949660.zip u-boot-imx-4c5998b77af081d4075a1fb8f19446a699949660.tar.gz u-boot-imx-4c5998b77af081d4075a1fb8f19446a699949660.tar.bz2 |
usb: eth: asix: Build warning fixes for 64-bit
Fix a type mismatch in a printf format string.
Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | drivers/usb/eth/asix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c index 1181109..1cd179b 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; |