Re: [ovs-dev] [PATCH] datapath: fix sparse warning in function tbl_mask_array_delete_mask()

2014-06-25 Thread Andy Zhou
Thanks, pushed with suggested changes. On Wed, Jun 25, 2014 at 1:21 PM, Pravin Shelar wrote: > On Mon, Jun 23, 2014 at 11:10 PM, Andy Zhou wrote: >> Sparse gives "incompatible types in comparison expression (different >> address spaces)" warning messages. Fix this by add rcu_dereference() >> wra

Re: [ovs-dev] [PATCH] datapath: fix sparse warning in function tbl_mask_array_delete_mask()

2014-06-25 Thread Pravin Shelar
On Mon, Jun 23, 2014 at 11:10 PM, Andy Zhou wrote: > Sparse gives "incompatible types in comparison expression (different > address spaces)" warning messages. Fix this by add rcu_dereference() > wrappers. > > Reported-by: Ben Pfaff > Signed-off-by: Andy Zhou > --- > datapath/flow_table.c | 6 ++

[ovs-dev] [PATCH] datapath: fix sparse warning in function tbl_mask_array_delete_mask()

2014-06-23 Thread Andy Zhou
Sparse gives "incompatible types in comparison expression (different address spaces)" warning messages. Fix this by add rcu_dereference() wrappers. Reported-by: Ben Pfaff Signed-off-by: Andy Zhou --- datapath/flow_table.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a