projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa8ea22
)
lib/flow: Use BUILD_MESSAGE() to warn if BUILD_SEQ is not updated
author
Daniele Di Proietto
<ddiproietto@vmware.com>
Fri, 29 Aug 2014 23:08:11 +0000
(16:08 -0700)
committer
Jarno Rajahalme
<jrajahalme@nicira.com>
Fri, 29 Aug 2014 23:08:11 +0000
(16:08 -0700)
Signed-off-by: Daniele Di Proietto <ddiproietto@vmware.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/flow.c
patch
|
blob
|
history
diff --git
a/lib/flow.c
b/lib/flow.c
index
1c1ce27
..
b9f1820
100644
(file)
--- a/
lib/flow.c
+++ b/
lib/flow.c
@@
-123,6
+123,9
@@
struct mf_ctx {
#if (FLOW_WC_SEQ != 27)
#define MINIFLOW_ASSERT(X) ovs_assert(X)
+BUILD_MESSAGE("FLOW_WC_SEQ changed: miniflow_extract() will have runtime "
+ "assertions enabled. Consider updating FLOW_WC_SEQ after "
+ "testing")
#else
#define MINIFLOW_ASSERT(X)
#endif