Re: [RFC 3/3] mac80211: annotate with __requires_rcu

From: Johannes Berg
Date: Sat Apr 12 2008 - 04:56:58 EST


On Sat, 2008-04-12 at 10:50 +0200, Geert Uytterhoeven wrote:
> On Thu, 10 Apr 2008, Johannes Berg wrote:
> > --- everything.orig/net/mac80211/key.h 2008-04-10 15:36:20.000000000 +0200
> > +++ everything/net/mac80211/key.h 2008-04-10 15:36:45.000000000 +0200
> > @@ -146,7 +146,7 @@ struct ieee80211_key *ieee80211_key_allo
> > */
> > void ieee80211_key_link(struct ieee80211_key *key,
> > struct ieee80211_sub_if_data *sdata,
> > - struct sta_info *sta);
> > + struct sta_info *sta) __requires(RCU);
> ^^^^^^^^^^^^^^^
> __requires_rcu? (for consistency)

Yeah, forgot to fix up this one, I had been playing with it locally
without __requires_rcu first.

Thanks,
johannes

Attachment: signature.asc
Description: This is a digitally signed message part