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

- From: David Miller \<hidden\>
- Date: 2013-02-08 22:45:05 
- List: netdev
- Page: https://ratatoskr.run/netdev/2013/02/3999472
- Thread: https://ratatoskr.run/netdev/2013/02/3998784/t.md

```text
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
```
