diff options
author | Andy Zhou <azhou@nicira.com> | 2015-09-21 16:01:23 -0700 |
---|---|---|
committer | Andy Zhou <azhou@nicira.com> | 2015-09-24 13:12:59 -0700 |
commit | 3a8653d716d92b563c70b6a81bd92385cba99d18 (patch) | |
tree | f697e727ef48cd8def7271d5f5ae0cb935950f1a /lib/netdev-dpdk.c | |
parent | ad4adec2a33fe4edaf0e619ddcbee852c9cbe6a7 (diff) | |
download | openvswitch-3a8653d716d92b563c70b6a81bd92385cba99d18.tar.gz |
dpdk: fix compiler warnings on 32bit build
Those changes fix compiler warnings.
Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'lib/netdev-dpdk.c')
-rw-r--r-- | lib/netdev-dpdk.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index e4e3d2c0f..b72a33bbb 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Nicira, Inc. + * Copyright (c) 2014, 2015 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1785,14 +1785,14 @@ 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", - dev->ifname, dev->device_fh); + VLOG_INFO("vHost Device '%s' %"PRIu64" can't be added - name not " + "found", dev->ifname, dev->device_fh); return -1; } - VLOG_INFO("vHost Device '%s' (%ld) has been added", - dev->ifname, dev->device_fh); + VLOG_INFO("vHost Device '%s' %"PRIu64" has been added", dev->ifname, + dev->device_fh); return 0; } @@ -1830,8 +1830,8 @@ destroy_device(volatile struct virtio_net *dev) } ovs_mutex_unlock(&dpdk_mutex); - VLOG_INFO("vHost Device '%s' (%ld) has been removed", - dev->ifname, dev->device_fh); + VLOG_INFO("vHost Device '%s' %"PRIu64" has been removed", dev->ifname, + dev->device_fh); } struct virtio_net * |