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

From
David Miller <davem@davemloft.net>
Date
2013-02-08 22:45:05
Also in
linux-can, linux-devicetree, lkml, netdev
Reply to
Joe Perches, 2013-02-07
From: Joe Perches <joe@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@perches.com>
Applied, thanks Joe.
Thread (9 messages) 9 messages, 7 authors, last reply 2013-02-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help