projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f8f243
)
lib: Define OVSP_NONE in a more clear way
author
Zoltan Kiss
<zoltan.kiss@citrix.com>
Thu, 12 Jul 2012 17:24:17 +0000
(18:24 +0100)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 12 Jul 2012 23:49:16 +0000
(16:49 -0700)
The value represented by the macro would stay exactly the same, just become obvious.
Signed-off-by: Zoltan Kiss <zoltan.kiss@citrix.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/odp-util.h
patch
|
blob
|
history
diff --git
a/lib/odp-util.h
b/lib/odp-util.h
index f902b766dd1d8013314a87e9ed1822ace1426699..16f2b156707260c6e720b2c23530d2dda609e888 100644
(file)
--- a/
lib/odp-util.h
+++ b/
lib/odp-util.h
@@
-32,7
+32,7
@@
struct nlattr;
struct ofpbuf;
struct simap;
-#define OVSP_NONE
((uint16_t) -1)
+#define OVSP_NONE
UINT16_MAX
static inline uint16_t
ofp_port_to_odp_port(uint16_t ofp_port)