Re: libertas: constify cfg80211_ops structures

2016-12-30 Thread Kalle Valo
text data bss dec hex filename > 22041 1154 16 232115aab wireless/marvell/libertas/cfg.o > > Signed-off-by: Bhumika Goyal Patch applied to wireless-drivers-next.git, thanks. 26eb994d5239 libertas: constify cfg80211_ops structures -- https://p

Re: net: wireless: marvell: libertas: constify cfg80211_ops structures

2016-12-30 Thread Kalle Valo
Bhumika Goyal wrote: > cfg80211_ops structures are only passed as an argument to the function > wiphy_new. This argument is of type const, so cfg80211_ops strutures > having this property can be declared as const. > Done using Coccinelle > > @r1 disable optional_qualifier @ > identifier i; > posi

[PATCH] net: wireless: marvell: libertas: constify cfg80211_ops structures

2016-12-17 Thread Bhumika Goyal
cfg80211_ops structures are only passed as an argument to the function wiphy_new. This argument is of type const, so cfg80211_ops strutures having this property can be declared as const. Done using Coccinelle @r1 disable optional_qualifier @ identifier i; position p; @@ static struct cfg80211_ops