Re: [U-Boot] [PATCH v3 09/21] eth: asix88179: Print packet length properly

2016-03-25 Thread Joe Hershberger
On Sun, Mar 13, 2016 at 4:36 PM, Mateusz Kulikowski
 wrote:
> Debug printf used '%u' to print size_t variable.
> This caused warnings on 64-bit machines.
>
> Signed-off-by: Mateusz Kulikowski 

Acked-by: Joe Hershberger 
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH v3 09/21] eth: asix88179: Print packet length properly

2016-03-14 Thread Marek Vasut
On 03/13/2016 10:36 PM, Mateusz Kulikowski wrote:
> Debug printf used '%u' to print size_t variable.
> This caused warnings on 64-bit machines.
> 
> Signed-off-by: Mateusz Kulikowski 

Acked-by: Marek Vasut 

Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH v3 09/21] eth: asix88179: Print packet length properly

2016-03-13 Thread Mateusz Kulikowski
Debug printf used '%u' to print size_t variable.
This caused warnings on 64-bit machines.

Signed-off-by: Mateusz Kulikowski 
---

Changes in v3:
- New patch

Changes in v2: None
Changes in v1: None

 drivers/usb/eth/asix88179.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/eth/asix88179.c b/drivers/usb/eth/asix88179.c
index cf4085d..5e1ea86 100644
--- a/drivers/usb/eth/asix88179.c
+++ b/drivers/usb/eth/asix88179.c
@@ -497,7 +497,7 @@ static int asix_send(struct eth_device *eth, void *packet, 
int length)
length + sizeof(packet_len) + sizeof(tx_hdr2),
_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.5.0

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot