linux/drivers/net/ethernet
Jesse Brandeburg ac5ac789eb ixgb: eliminate checkstack warnings
Really trivial fix, use kmalloc/kfree instead of stack space.
use static const instead of const to further reduce stack usage.

V2: reflect changes suggested by Joe Perches

before:
[jbrandeb@jbrandeb-mobl2 linux-2.6]$ make checkstack|grep '\[ixgb\]'
0x00000fc1 ixgb_set_multi [ixgb]:                       768
0x00001031 ixgb_set_multi [ixgb]:                       768
0x000010f2 ixgb_set_multi [ixgb]:                       768
0x061c ixgb_check_options [ixgb]:                       448
0x09c3 ixgb_check_options [ixgb]:                       448
0x0000649e ixgb_set_ringparam [ixgb]:                   192
0x0000130d ixgb_xmit_frame [ixgb]:                      184
0x000019e0 ixgb_xmit_frame [ixgb]:                      184
0x00002267 ixgb_clean [ixgb]:                           152
0x00002673 ixgb_clean [ixgb]:                           152

after:
0x000064ee ixgb_set_ringparam [ixgb]:                   192
0x0000135d ixgb_xmit_frame [ixgb]:                      184
0x00001a30 ixgb_xmit_frame [ixgb]:                      184
0x000022b7 ixgb_clean [ixgb]:                           152
0x000026c3 ixgb_clean [ixgb]:                           152

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-09-23 13:55:25 -04:00
..
3com typhoon: convert to SKB paged frag API. 2011-09-22 16:04:17 -04:00
8390
adaptec starfire: convert to SKB paged frag API. 2011-09-22 16:04:15 -04:00
adi
aeroflex
alteon
amd
apple
atheros
broadcom
brocade
cadence
chelsio
cirrus
cisco
davicom
dec
dlink
emulex
faraday
freescale
fujitsu
hp
i825xx
ibm
icplus
intel ixgb: eliminate checkstack warnings 2011-09-23 13:55:25 -04:00
marvell sky2: convert to SKB paged frag API. 2011-09-22 16:04:15 -04:00
mellanox
micrel
microchip
myricom
natsemi
neterion s2io: convert to SKB paged frag API. 2011-09-22 16:04:15 -04:00
nuvoton
nvidia
octeon
oki-semi
packetengines
pasemi
qlogic
racal
rdc
realtek r8169: jumbo fixes. 2011-09-22 11:35:26 +02:00
renesas
seeq seeq: fix compile breakage on s390 2011-09-23 13:45:47 -04:00
sfc sfc: convert to SKB paged frag API. 2011-09-22 16:04:15 -04:00
sgi
sis
smsc
stmicro stmmac: convert to SKB paged frag API. 2011-09-22 16:04:16 -04:00
sun sunhme: convert to SKB paged frag API. 2011-09-22 16:04:16 -04:00
tehuti tehuti: convert to SKB paged frag API. 2011-09-22 16:04:16 -04:00
ti
tile
toshiba
tundra tsi108: convert to SKB paged frag API. 2011-09-22 16:04:16 -04:00
via via-velocity: convert to SKB paged frag API. 2011-09-22 16:04:17 -04:00
xilinx
xircom
xscale
dnet.c
dnet.h
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
mipsnet.c
netx-eth.c
s6gmac.c