[ovs-dev] [PATCH] dpdk: fix compiler warnings on 32bit build
Andy Zhou
azhou at nicira.com
Tue Sep 22 21:13:30 UTC 2015
Those changes prevent compiler warnings.
Signed-off-by: Andy Zhou <azhou at nicira.com>
---
lib/netdev-dpdk.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index e4e3d2c..e7eb526 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -1785,13 +1785,13 @@ new_device(struct virtio_net *dev)
ovs_mutex_unlock(&dpdk_mutex);
if (!exists) {
- VLOG_INFO("vHost Device '%s' (%ld) can't be added - name not found",
+ VLOG_INFO("vHost Device '%s' (%lld) can't be added - name not found",
dev->ifname, dev->device_fh);
return -1;
}
- VLOG_INFO("vHost Device '%s' (%ld) has been added",
+ VLOG_INFO("vHost Device '%s' (%lld) has been added",
dev->ifname, dev->device_fh);
return 0;
}
@@ -1830,7 +1830,7 @@ destroy_device(volatile struct virtio_net *dev)
}
ovs_mutex_unlock(&dpdk_mutex);
- VLOG_INFO("vHost Device '%s' (%ld) has been removed",
+ VLOG_INFO("vHost Device '%s' (%lld) has been removed",
dev->ifname, dev->device_fh);
}
--
1.9.1
More information about the dev
mailing list