Re: [U-Boot] [PATCH 08/13] usb: eth: asix: Build warning fixes for 64-bit
On Friday, March 20, 2015 at 12:41:23 PM, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com Fix a type mismatch in a printf format string. Cc: Marek Vasut ma...@denx.de Signed-off-by: Thierry Reding tred...@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; Applied, thanks! Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH 08/13] usb: eth: asix: Build warning fixes for 64-bit
From: Thierry Reding tred...@nvidia.com Fix a type mismatch in a printf format string. Cc: Marek Vasut ma...@denx.de Signed-off-by: Thierry Reding tred...@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 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot