cxgb3: Fix warning about using rcu_dereference when not in a rcu-locked section
authorJay Fenlason <fenlason@redhat.com>
Tue, 21 May 2013 04:21:28 +0000 (04:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2013 07:03:54 +0000 (00:03 -0700)
commit9313eb4be3220054c07a7c34c38764ea1ebcd220
treeae6d18e6c2461261e9c5669eb939d2a973063682
parentf1238261891bea67da845688b7684a3444c61bd9
cxgb3: Fix warning about using rcu_dereference when not in a rcu-locked section

It is about using rcu_dereference() when not in a rcu-locked section. It only
happens on initialization hence fix the initialization to not rcu_dereference()

Signed-off-by: Jay Fenlason <fenlason@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c