Commit 64160a54 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Tom Rini
Browse files

eth: asix88179: Print packet length properly

Debug printf used '%u' to print size_t variable.
This caused warnings on 64-bit machines.
Signed-off-by: default avatarMateusz Kulikowski <>
Acked-by: default avatarMarek Vasut <>
Acked-by: default avatarJoe Hershberger <>
parent d3d844f8
......@@ -497,7 +497,7 @@ static int asix_send(struct eth_device *eth, void *packet, int length)
length + sizeof(packet_len) + sizeof(tx_hdr2),
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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment