On Mon, 2011-11-21 at 18:40 +0400, Ivan Bezyazychnyy wrote: > +static inline bool ieee80211s_has_capab_pm(__le16 capab_info) > +{ > + return (capab_info & MESHCONF_CAPAB_POWER_SAVE_LEVEL) != 0; > +} To me it look like sparse will warn here. > --- a/net/mac80211/mesh_plink.c > +++ b/net/mac80211/mesh_plink.c > @@ -248,6 +248,8 @@ void mesh_neighbour_update(u8 *hw_addr, u32 rates, > { > struct ieee80211_local *local = sdata->local; > struct sta_info *sta; > + struct ieee80211_mgmt *mgmt = container_of(hw_addr, > + struct ieee80211_mgmt, sa[0]); You've got to be kidding! Change the prototypes accordingly if you need more stuff. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html