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

David Miller davem at davemloft.net
Sat Feb 9 09:45:00 EST 2013


From: Joe Perches <joe at perches.com>
Date: Thu, 07 Feb 2013 13:46:27 -0800

> 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.
> 
> Signed-off-by: Joe Perches <joe at perches.com>

Applied, thanks Joe.


More information about the devicetree-discuss mailing list