Re: [PATCH] drivers: net: Remove remaining alloc/OOM messages

From: Arend van Spriel
Date: Thu Feb 07 2013 - 17:08:17 EST


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 <arend@xxxxxxxxxxxx>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> ---
> 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 ++--


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/