Linus Lüssing wrote: > > I think it should look that way: > > > - struct gw_node *curr_gw; > > > + struct gw_node __rcu *curr_gw; > > Eh, had been looking at whatisRCU.txt and there gbl_foo in section > 3 did not have a "__rcu" (actually I hadn't seen that in any of the > documentations before).
$ git show v2.6.37:Documentation/RCU/checklist.txt|grep __rcu
That document explains it quite well how the sparse check works and why you
must use __rcu to say "hey, this is a pointer which is used in a special way).
Best regards,
Sven
signature.asc
Description: This is a digitally signed message part.
