[ovs-git] [openvswitch/ovs] 35fd33: datapath: Fix datapath compilation error.
GitHub
noreply at github.com
Sat Sep 26 03:18:49 UTC 2015
Branch: refs/heads/branch-2.3
Home: https://github.com/openvswitch/ovs
Commit: 35fd33646f624e24310e4b060107a4889efbd395
https://github.com/openvswitch/ovs/commit/35fd33646f624e24310e4b060107a4889efbd395
Author: Pravin B Shelar <pshelar at nicira.com>
Date: 2015-09-25 (Fri, 25 Sep 2015)
Changed paths:
M datapath/flow_table.c
Log Message:
-----------
datapath: Fix datapath compilation error.
CC [M] /home/pravin/ovs/cln/datapath/linux/flow_table.o
datapath/linux/flow_table.c: In function ‘masked_flow_lookup’:
datapath/linux/flow_table.c:508:2: warning: passing argument 2 of ‘flow_hash’ makes integer from pointer without a cast
[enabled by default]
hash = flow_hash(&masked_key, &mask->range);
^
datapath/linux/flow_table.c:442:12: note: expected ‘int’ but argument is of type ‘struct sw_flow_key_range *’
static u32 flow_hash(const struct sw_flow_key *key, int key_start,
^
datapath/linux/flow_table.c:508:2: error: too few arguments to function ‘flow_hash’
hash = flow_hash(&masked_key, &mask->range);
^
datapath/linux/flow_table.c:442:12: note: declared here
static u32 flow_hash(const struct sw_flow_key *key, int key_start,
^
make[5]: *** [/home/pravin/ovs/cln/datapath/linux/flow_table.o] Error 1
---8<---
Fixes: bd42c105e71 ("datapath: Backport "openvswitch: Zero flows on
allocation."")
Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
More information about the git
mailing list