kernel-ark/drivers/net
Jiri Slaby db5b4f7ae3 ath5k: fix hw rate index condition
Make sure we print out a warning when the index is out of bounds,
i.e. even on hw_rix == AR5K_MAX_RATES.

Also change to WARN and print text with the reported hw_rix.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Nick Kossifidis <mickflemm@gmail.com>
Cc: Luis R. Rodriguez <lrodriguez@atheros.com>
Cc: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-03-05 14:39:32 -05:00
..
appletalk
arcnet drivers/net/arcnet: fix sparse warning: symbol shadows an earlier one 2009-02-17 17:26:05 -08:00
arm Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-05 02:06:47 -08:00
atl1c atl1c: Atheros L1C Gigabit Ethernet driver 2009-02-18 17:24:15 -08:00
atl1e drivers/net/atl1e: fix sparse warnings: fix signedness 2009-02-17 17:26:06 -08:00
atlx drivers/net/atlx: fix sparse warnings: fix signedness 2009-02-17 17:26:07 -08:00
bonding Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-05 02:06:47 -08:00
can
chelsio chelsio: remove some pointless conditionals before kfree_skb() 2009-02-26 23:07:38 -08:00
cris
cxgb3 Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2009-02-24 03:50:29 -08:00
e1000 e1000: fix unmap bug 2009-03-02 16:03:21 -08:00
e1000e e1000e: fix unmap bug 2009-03-02 16:02:53 -08:00
ehea ehea: Fix memory hotplug handling 2009-02-20 00:42:01 -08:00
enic enic: Add api for link down count and to get firmware notification status. 2009-02-09 23:25:33 -08:00
fs_enet
hamradio drivers/net/hamradio: fix sparse warning: symbol shadows an earlier one 2009-02-17 17:37:39 -08:00
ibm_newemac
igb igb: remove skb_orphan calls 2009-03-02 16:01:53 -08:00
irda irda: remove some pointless conditionals before kfree_skb() 2009-02-26 23:07:30 -08:00
ixgb
ixgbe ixgbe: Fix some compiler warnings. 2009-03-01 20:32:39 -08:00
ixp2000
mlx4
myri10ge
netxen netxen: firmware download improvements 2009-03-03 00:05:27 -08:00
pcmcia Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-05 02:06:47 -08:00
phy mdio: fix non-constant printk warnings 2009-02-26 22:22:03 -08:00
qlge qlge: Add support for lost firmware events. 2009-03-03 23:50:49 -08:00
sfc sfc: Improve NIC internal error recovery 2009-03-04 17:40:25 -08:00
skfp drivers/net/skfp: fix sparse warning: Should it be static? 2009-02-17 17:37:59 -08:00
tokenring Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-05 02:06:47 -08:00
tulip tulip: get rid of warning for non-const string literal 2009-02-26 22:21:53 -08:00
usb Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-05 02:06:47 -08:00
wan wan: remove some pointless conditionals before kfree_skb() 2009-02-26 23:07:32 -08:00
wimax wimax/i2400m: implement RX reorder support 2009-03-02 03:10:28 -08:00
wireless ath5k: fix hw rate index condition 2009-03-05 14:39:32 -05:00
3c59x.c 3c59x: get rid of non-const printk warnings 2009-02-26 22:21:54 -08:00
3c501.c
3c501.h
3c503.c
3c503.h
3c505.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2009-02-14 23:12:00 -08:00
3c505.h
3c507.c
3c509.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-02-07 02:52:44 -08:00
3c515.c
3c523.c
3c523.h
3c527.c
3c527.h
7990.c
7990.h
8139cp.c
8139too.c
8390.c
8390.h
8390p.c
82596.c
a2065.c
a2065.h
ac3200.c
acenic.c acenic: fix non-constant printk warnings 2009-02-26 22:21:58 -08:00
acenic.h
amd8111e.c
amd8111e.h
apne.c
ariadne.c
ariadne.h
at1700.c drivers/net/at1700.c: fix sparse warning: symbol shadows an earlier one 2009-02-17 17:21:07 -08:00
atarilance.c
atp.c
atp.h
au1000_eth.c
au1000_eth.h
ax88796.c
b44.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-01 21:35:16 -08:00
b44.h
bfin_mac.c
bfin_mac.h
bmac.c
bmac.h
bnx2_fw2.h bnx2: Update 5709 firmware. 2009-02-12 16:53:48 -08:00
bnx2_fw.h bnx2: Update 5706/5708 firmware. 2009-02-12 16:53:22 -08:00
bnx2.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2009-02-14 23:12:00 -08:00
bnx2.h bnx2: Update version to 1.9.2 and copyright. 2009-02-12 16:54:48 -08:00
bnx2x_dump.h bnx2x: Register dump 2009-03-02 22:32:48 -08:00
bnx2x_fw_defs.h bnx2x: Version 2009-02-15 23:32:01 -08:00
bnx2x_hsi.h bnx2x: Version 2009-02-15 23:32:01 -08:00
bnx2x_init_values.h bnx2x: New FW 2009-02-15 23:24:08 -08:00
bnx2x_init.h bnx2x: Whitespace 2009-03-02 22:32:46 -08:00
bnx2x_link.c bnx2x: Loopback support at external PHY 2009-03-02 22:32:45 -08:00
bnx2x_link.h bnx2x: Version 2009-02-15 23:32:01 -08:00
bnx2x_main.c bnx2x: Version update 2009-03-02 22:32:49 -08:00
bnx2x_reg.h bnx2x: Supporting new BCM8726 FW 2009-03-02 22:32:43 -08:00
bnx2x.h bnx2x: Clean-up 2009-02-15 23:31:58 -08:00
bsd_comp.c
cassini.c
cassini.h
cpmac.c
cs89x0.c
cs89x0.h
de600.c
de600.h
de620.c
de620.h
declance.c
defxx.c netdev: Use __netdev_alloc_skb() instead of __dev_alloc_skb(). 2009-02-10 01:56:45 -08:00
defxx.h
depca.c
depca.h
dl2k.c
dl2k.h
dm9000.c
dm9000.h
dummy.c
e100.c
e2100.c drivers/net/e2100.c: fix sparse warning: symbol shadows an earlier one 2009-02-17 17:21:08 -08:00
eepro.c
eexpress.c
eexpress.h
enc28j60_hw.h
enc28j60.c
epic100.c
eql.c
es3210.c
eth16i.c
ewrk3.c
ewrk3.h
fealnx.c fealnx: fix non-constant printk warnings 2009-02-26 22:21:59 -08:00
fec_mpc52xx_phy.c
fec_mpc52xx.c
fec_mpc52xx.h
fec.c m68knommu: remove ColdFire specific setup code from FEC driver 2009-02-26 22:42:51 -08:00
fec.h
forcedeth.c forcedeth: fix non-constant printk warnings 2009-02-26 22:22:03 -08:00
fsl_pq_mdio.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-05 02:06:47 -08:00
fsl_pq_mdio.h
gianfar_ethtool.c
gianfar_mii.c
gianfar_sysfs.c
gianfar.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-01 21:35:16 -08:00
gianfar.h
hamachi.c hamachi: fix non-constant printk warnings 2009-02-26 22:22:02 -08:00
hp100.c
hp100.h
hp-plus.c net: fix hp-plus build error 2009-02-26 21:02:19 -08:00
hp.c
hplance.c
hplance.h
hydra.c
ibmlana.c
ibmlana.h
ibmveth.c
ibmveth.h
ifb.c
ioc3-eth.c
ipg.c
ipg.h
isa-skeleton.c
iseries_veth.c
jazzsonic.c
jme.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-05 02:06:47 -08:00
jme.h jme: Advance version number after previous changes 2009-03-02 01:55:15 -08:00
Kconfig mv643xx_eth: make LRO unconditional 2009-02-24 23:17:21 -08:00
korina.c
lance.c drivers/net/lance.c: fix sparse warnings: fix signedness 2009-02-17 17:21:11 -08:00
lasi_82596.c
lib8390.c
lib82596.c
LICENSE.SRC
lne390.c
loopback.c
lp486e.c
mac89x0.c
mac8390.c
macb.c
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c
Makefile Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2009-02-24 03:50:29 -08:00
meth.c
meth.h
mii.c
mipsnet.c
mv643xx_eth.c mv643xx_eth: set sane default receive coalescing timeout 2009-02-24 23:17:22 -08:00
mvme147.c
myri_code.h
myri_sbus.c
myri_sbus.h
natsemi.c natsemi: fix non-constant printk warnings 2009-02-26 22:21:58 -08:00
ne2.c
ne2k-pci.c ne2k-pci: fix non-constant printk warnings 2009-02-26 22:21:55 -08:00
ne3210.c
ne-h8300.c
ne.c
netconsole.c
netx-eth.c
ni52.c
ni52.h
ni65.c drivers/net/ni65.c: fix sparse warnings: fix signedness 2009-02-17 17:21:12 -08:00
ni65.h
ni5010.c
ni5010.h
niu.c niu: Add TCAM classification configuration 2009-02-20 00:58:45 -08:00
niu.h niu: Add TCAM classification configuration 2009-02-20 00:58:45 -08:00
ns83820.c ns83820: remove some pointless conditionals before kfree_skb() 2009-02-26 23:07:39 -08:00
pasemi_mac_ethtool.c
pasemi_mac.c
pasemi_mac.h
pci-skeleton.c
pcnet32.c
plip.c
ppp_async.c ppp: remove some pointless conditionals before kfree_skb() 2009-02-26 23:07:30 -08:00
ppp_deflate.c
ppp_generic.c ppp: remove some pointless conditionals before kfree_skb() 2009-02-26 23:07:30 -08:00
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c ppp: remove some pointless conditionals before kfree_skb() 2009-02-26 23:07:30 -08:00
pppoe.c drivers/net/ppp*.c: fix sparse warnings: fix signedness 2009-02-17 17:21:12 -08:00
pppol2tp.c drivers/net/ppp*.c: fix sparse warnings: fix signedness 2009-02-17 17:21:12 -08:00
pppox.c
ps3_gelic_net.c
ps3_gelic_net.h
ps3_gelic_wireless.c
ps3_gelic_wireless.h
qla3xxx.c
qla3xxx.h
r6040.c drivers/net/r6040.c: fix sparse warning: Using plain integer as NULL pointer 2009-02-17 17:21:13 -08:00
r8169.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-01 21:35:16 -08:00
rionet.c drivers/net/rionet.c: remove some pointless conditionals before kfree_skb() 2009-02-26 23:07:31 -08:00
rrunner.c
rrunner.h
s2io-regs.h
s2io.c drivers/net/s2io.c: fix sparse warning: symbol shadows an earlier one 2009-02-17 17:21:14 -08:00
s2io.h
sb1000.c
sb1250-mac.c
sc92031.c
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c
sh_eth.h
sis190.c
sis900.c sis900: fix non-constant printk warnings 2009-02-26 22:21:55 -08:00
sis900.h
skge.c
skge.h
sky2.c
sky2.h
slhc.c
slip.c
slip.h
smc91x.c
smc91x.h
smc911x.c
smc911x.h OMAP: enable smc911x support for LDP platform 2009-03-02 22:29:37 -08:00
smc9194.c
smc9194.h
smc-mca.c
smc-ultra32.c
smc-ultra.c
smsc911x.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2009-02-24 03:50:29 -08:00
smsc911x.h
smsc9420.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2009-02-24 03:50:29 -08:00
smsc9420.h smsc9420: handle magic field of ethtool_eeprom 2009-02-20 00:38:51 -08:00
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net_ethtool.c
spider_net.c
spider_net.h
starfire.c starfire: fix non-constant printk warnings 2009-02-26 22:22:00 -08:00
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c sun3: print when lance_open() fails 2009-02-12 16:40:20 -08:00
sunbmac.c
sunbmac.h
sundance.c sundance: fix non-constant printk warnings 2009-02-26 22:22:00 -08:00
sungem_phy.c
sungem_phy.h
sungem.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-03-05 02:06:47 -08:00
sungem.h
sunhme.c sunhme: Fix Quattro HME irq registration on proble failures 2009-02-10 17:29:42 -08:00
sunhme.h
sunlance.c sunlance: Beyond ARRAY_SIZE of ib->btx_ring 2009-02-21 23:46:36 -08:00
sunqe.c
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c
tehuti.c tehuti: Use request_firmware() 2009-02-26 23:20:56 -08:00
tehuti.h tehuti: Use request_firmware() 2009-02-26 23:20:56 -08:00
tg3.c tg3: Fix 5906 link problems 2009-03-04 15:08:19 -08:00
tg3.h tg3: Add version reporting for hardware selfboot 2009-02-26 23:16:40 -08:00
tlan.c
tlan.h
tsi108_eth.c
tsi108_eth.h
tun.c tun: Fix merge error 2009-02-14 20:46:39 -08:00
typhoon.c typhoon: repair firmware loading 2009-03-02 22:15:09 -08:00
typhoon.h
ucc_geth_ethtool.c
ucc_geth.c
ucc_geth.h
veth.c veth: Allow setting the L3 MTU 2009-03-03 23:36:04 -08:00
via-rhine.c via-rhine: fix non-constant printk warnings 2009-02-26 22:21:59 -08:00
via-velocity.c
via-velocity.h
virtio_net.c
wd.c
xen-netfront.c
xtsonic.c
yellowfin.c yellowfin: fix non-constant printk warnings 2009-02-26 22:21:57 -08:00
znet.c
zorro8390.c