[ovs-dev] [PATCH 1/2] datapath: Fix typo in 64-bit compat header.

Ben Pfaff blp at nicira.com
Mon Oct 11 21:07:18 UTC 2010


Commit f1588b1f "datapath: Remove implementation of port groups" added a
spurious "V" in the odp-compat.h header.  I failed to test-build that
commit on a 64-bit system and thus this broke the build on x86-64 and other
64-bit systems.

Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 datapath/odp-compat.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/datapath/odp-compat.h b/datapath/odp-compat.h
index fc6faa5..669a521 100644
--- a/datapath/odp-compat.h
+++ b/datapath/odp-compat.h
@@ -15,7 +15,7 @@
 #include "openvswitch/datapath-protocol.h"
 #include <linux/compat.h>
 
-#define ODP_VPORT_LIST32	_IOWR('O', 10, struct compat_odp_portvec)
+#define ODP_PORT_LIST32		_IOWR('O', 10, struct compat_odp_portvec)
 #define ODP_FLOW_GET32		_IOWR('O', 13, struct compat_odp_flow)
 #define ODP_FLOW_PUT32		_IOWR('O', 14, struct compat_odp_flow)
 #define ODP_FLOW_LIST32		_IOWR('O', 15, struct compat_odp_flowvec)
-- 
1.7.1





More information about the dev mailing list