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

John W. Linville linville at tuxdriver.com
Sat Feb 9 03:19:19 EST 2013


On Thu, Feb 07, 2013 at 01:46:27PM -0800, 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.
> 
> Signed-off-by: Joe Perches <joe at perches.com>

No objection...

Acked-by: John W. Linville <linville at tuxdriver.com>

-- 
John W. Linville		Someday the world will need a hero, and you
linville at tuxdriver.com			might be all we have.  Be ready.


More information about the devicetree-discuss mailing list