From: Arend van Spriel Date: Thu, 7 Feb 2013 23:07:54 +0100 Subject: [ath9k-devel] [PATCH] drivers: net: Remove remaining alloc/OOM messages In-Reply-To: <1360273587.27863.15.camel@joe-AO722> References: <1360273587.27863.15.camel@joe-AO722> Message-ID: <511425BA.1040005@broadcom.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On 02/07/2013 10:46 PM, Joe Perches wrote: > alloc failures already get standardized OOM > messages and a dump_stack. > > For the affected mallocs around these OOM messages: > > Converted kmallocs with multiplies to kmalloc_array. > Converted a kmalloc/memcpy to kmemdup. > Removed now unused stack variables. > Removed unnecessary parentheses. > Neatened alignment. for brcm80211 driver files listed below: Acked-by: Arend van Spriel > Signed-off-by: Joe Perches > --- > Let me know if you want multiple small patches instead. > > drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c | 5 +-- > drivers/net/wireless/brcm80211/brcmfmac/usb.c | 7 ++--