alloc failures already get standardized OOM messages and a dump_stack. For the affected mallocs around these OOM messages: Converted kzallocs with multiplies to kcalloc. Converted kmallocs with multiplies to kmalloc_array. Converted a kmalloc/strlen/strncpy to kstrdup. Moved a spin_lock below a removed OOM message and removed a now unnecessary spin_unlock. Neatened alignment and whitespace. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
dot11d.c | ||
dot11d.h | ||
ieee80211.h | ||
ieee80211_crypt.c | ||
ieee80211_crypt.h | ||
ieee80211_crypt_ccmp.c | ||
ieee80211_crypt_tkip.c | ||
ieee80211_crypt_wep.c | ||
ieee80211_module.c | ||
ieee80211_rx.c | ||
ieee80211_softmac.c | ||
ieee80211_softmac_wx.c | ||
ieee80211_tx.c | ||
ieee80211_wx.c |