From 91f831671269ade5e936812ae1dc1950105c748d Mon Sep 17 00:00:00 2001 From: Pravin B Shelar Date: Fri, 15 May 2015 06:32:32 -0700 Subject: [PATCH] datapath: Fix Sparse warning. CHECK /home/pravin/ovs/w8/datapath/linux/flow_table.c /home/pravin/ovs/w8/datapath/linux/flow_table.c:536:6: warning: symbol 'ovs_flow_cmp_unmasked_key' was not declared. Should it be static? Signed-off-by: Pravin B Shelar Acked-by: Jesse Gross --- datapath/flow_table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datapath/flow_table.c b/datapath/flow_table.c index 9a27bea97..409f9dde4 100644 --- a/datapath/flow_table.c +++ b/datapath/flow_table.c @@ -533,8 +533,8 @@ static bool flow_cmp_masked_key(const struct sw_flow *flow, return cmp_key(&flow->key, key, range->start, range->end); } -bool ovs_flow_cmp_unmasked_key(const struct sw_flow *flow, - const struct sw_flow_match *match) +static bool ovs_flow_cmp_unmasked_key(const struct sw_flow *flow, + const struct sw_flow_match *match) { struct sw_flow_key *key = match->key; int key_start = flow_key_start(key); -- 2.20.1