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> Acked-by: Arend van Spriel <arend@broadcom.com> Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> Acked-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
|---|---|---|
| .. | ||
| epic100.c | ||
| Kconfig | ||
| Makefile | ||
| smc91c92_cs.c | ||
| smc91x.c | ||
| smc91x.h | ||
| smc911x.c | ||
| smc911x.h | ||
| smc9194.c | ||
| smc9194.h | ||
| smsc911x.c | ||
| smsc911x.h | ||
| smsc9420.c | ||
| smsc9420.h | ||