aboutsummaryrefslogtreecommitdiff
path: root/hw/net
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-08-14 18:06:44 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-08-14 18:06:44 +0100
commit6b324b3e5906fd9a9ce7f4f24decd1f1c7afde97 (patch)
tree0dcdd090696a104284db8bcc28acc94410383eec /hw/net
parent074a9925e1cfd659d5376dcaccd1436d3840e611 (diff)
parent8887f84c54f6e74124544d1700a205e5b6821b3d (diff)
downloadqemu-6b324b3e5906fd9a9ce7f4f24decd1f1c7afde97.zip
qemu-6b324b3e5906fd9a9ce7f4f24decd1f1c7afde97.tar.gz
qemu-6b324b3e5906fd9a9ce7f4f24decd1f1c7afde97.tar.bz2
Merge remote-tracking branch 'remotes/stefanha/tags/net-pull-request' into staging
# gpg: Signature made Fri 14 Aug 2015 16:01:19 BST using RSA key ID 81AB73C8 # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" # gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>" * remotes/stefanha/tags/net-pull-request: tests: test rx recovery from cont tests: introduce basic pci test for virtio-net net/vmxnet3: Fix incorrect debug message Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/net')
-rw-r--r--hw/net/vmxnet3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet3.c
index 59b06b8..071feeb 100644
--- a/hw/net/vmxnet3.c
+++ b/hw/net/vmxnet3.c
@@ -927,9 +927,9 @@ static void vmxnet3_rx_need_csum_calculate(struct VmxnetRxPkt *pkt,
/* Validate packet len: csum_start + scum_offset + length of csum field */
if (pkt_len < (vhdr->csum_start + vhdr->csum_offset + 2)) {
- VMW_PKPRN("packet len:%d < csum_start(%d) + csum_offset(%d) + 2, "
+ VMW_PKPRN("packet len:%lu < csum_start(%d) + csum_offset(%d) + 2, "
"cannot calculate checksum",
- len, vhdr->csum_start, vhdr->csum_offset);
+ pkt_len, vhdr->csum_start, vhdr->csum_offset);
return;
}