OpenCloudOS-Kernel/drivers/net/ethernet/amd
Joe Perches 14f8dc4953 drivers: net: Remove remaining alloc/OOM messages
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>
2013-02-08 17:44:39 -05:00
..
7990.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
7990.h
Kconfig drivers/net: delete old DEC depca ISA drivers support. 2013-01-22 10:39:55 -05:00
Makefile drivers/net: delete old DEC depca ISA drivers support. 2013-01-22 10:39:55 -05:00
a2065.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
a2065.h
am79c961a.c drivers/net/ethernet/amd/am79c961a.c: remove __dev* attributes 2012-12-03 11:16:12 -08:00
am79c961a.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
amd8111e.c net/amd: remove __dev* attributes 2012-12-03 11:16:54 -08:00
amd8111e.h module_param: make bool parameters really bool (net & drivers/net) 2011-12-19 22:27:29 -05:00
ariadne.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
ariadne.h
atarilance.c m68k/atari: Change VME irq numbers from unsigned long to unsigned int 2012-04-22 20:16:49 +02:00
au1000_eth.c net: phy: remove flags argument from phy_{attach, connect, connect_direct} 2013-01-14 15:11:50 -05:00
au1000_eth.h
declance.c net/amd: remove __dev* attributes 2012-12-03 11:16:54 -08:00
hplance.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
hplance.h
lance.c lance: remove unnecessary setting of skb->dev 2012-07-10 23:24:56 -07:00
mvme147.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ni65.c netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:41:20 -05:00
ni65.h
nmclan_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
pcnet32.c drivers: net: Remove remaining alloc/OOM messages 2013-02-08 17:44:39 -05:00
sun3lance.c netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-06 11:41:20 -05:00
sunlance.c ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00