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

From
David Miller <hidden>
Date
2013-02-08 22:45:05
Also in
linux-can, linux-devicetree, linux-wireless, lkml
Reply to
Joe Perches, 2013-02-07
From: Joe Perches <redacted>
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 <redacted>
Applied, thanks Joe.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
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