On Thu, Sep 18, 2014 at 02:33:25PM +0000, Ragnar B. Johannsson wrote: > Move ieee80211_crypto*_init and _exit prototype declarations from > r8192U_core.c to ieee80211/ieee80211.h. This fixes the following sparse > warnings: > > drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c:203:12: warning: symbol > 'ieee80211_crypto_init' was not declared. Should it be static? > drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c:223:13: warning: symbol > 'ieee80211_crypto_deinit' was not declared. Should it be static? > drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c:764:12: warning: > symbol 'ieee80211_crypto_tkip_init' was not declared. Should it be static? > drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c:769:13: warning: > symbol 'ieee80211_crypto_tkip_exit' was not declared. Should it be static? > drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c:467:12: warning: > symbol 'ieee80211_crypto_ccmp_init' was not declared. Should it be static? > drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c:472:13: warning: > symbol 'ieee80211_crypto_ccmp_exit' was not declared. Should it be static? > drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c:281:12: warning: > symbol 'ieee80211_crypto_wep_init' was not declared. Should it be static? > drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c:286:13: warning: > symbol 'ieee80211_crypto_wep_exit' was not declared. Should it be static? > > Signed-off-by: Ragnar B. Johannsson <[email protected]> > --- > Changes in v2: Remove extern, as suggested by Dan Carpenter.
Fantastic. Thanks! regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

