[ovs-dev] [PATCHv2 1/7] dpif-linux: Fix flow_dump_next annotation.

Joe Stringer joestringer at nicira.com
Tue Jan 21 19:29:24 UTC 2014


The 'dpif_' parameter of dpif_linux_flow_dump_next() was marked as
OVS_UNUSED, even though it's passed down to dpif_linux_flow_get__().

Signed-off-by: Joe Stringer <joestringer at nicira.com>
---
v2: First post
---
 lib/dpif-linux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/dpif-linux.c b/lib/dpif-linux.c
index 497a5bd..933c872 100644
--- a/lib/dpif-linux.c
+++ b/lib/dpif-linux.c
@@ -1014,7 +1014,7 @@ dpif_linux_flow_dump_start(const struct dpif *dpif_, void **statep)
 }
 
 static int
-dpif_linux_flow_dump_next(const struct dpif *dpif_ OVS_UNUSED, void *state_,
+dpif_linux_flow_dump_next(const struct dpif *dpif_, void *state_,
                           const struct nlattr **key, size_t *key_len,
                           const struct nlattr **mask, size_t *mask_len,
                           const struct nlattr **actions, size_t *actions_len,
-- 
1.7.9.5




More information about the dev mailing list