[U-Boot] [PATCH 08/13] usb: eth: asix: Build warning fixes for 64-bit
Marek Vasut
marex at denx.de
Wed Mar 25 12:42:02 CET 2015
On Friday, March 20, 2015 at 12:41:23 PM, Thierry Reding wrote:
> 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;
Applied, thanks!
Best regards,
Marek Vasut
More information about the U-Boot
mailing list