mirror of https://gitee.com/openkylin/linux.git
14f8dc4953
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> |
||
---|---|---|
.. | ||
c_can | ||
cc770 | ||
mscan | ||
sja1000 | ||
softing | ||
usb | ||
Kconfig | ||
Makefile | ||
at91_can.c | ||
bfin_can.c | ||
dev.c | ||
flexcan.c | ||
grcan.c | ||
janz-ican3.c | ||
led.c | ||
mcp251x.c | ||
pch_can.c | ||
slcan.c | ||
ti_hecc.c | ||
vcan.c |