Re: [RFC 1/1] net: fix rcu access on phonet_routes

2014-10-04 Thread Eric Dumazet
On Sat, 2014-10-04 at 11:57 +0200, Fabian Frederick wrote: > -Add __rcu annotation on table to fix sparse warnings: > net/phonet/pn_dev.c:279:25: warning: incorrect type in assignment (different > address spaces) > net/phonet/pn_dev.c:279:25:expected struct net_device * > net/phonet/pn_dev.c:2

Re: [RFC 1/1] net: fix rcu access on phonet_routes

2014-10-04 Thread Rémi Denis-Courmont
Le samedi 4 octobre 2014, 11:57:56 Fabian Frederick a écrit : (snip) > -Access table with rcu_dereference (fixes the following sparse errors): > net/phonet/pn_dev.c:278:25: error: incompatible types in comparison > expression (different address spaces) net/phonet/pn_dev.c:391:17: error: > incompati