]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: several off by one range checks
authorDan Carpenter <error27@gmail.com>
Sat, 8 May 2010 16:24:38 +0000 (18:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 10 May 2010 18:56:47 +0000 (14:56 -0400)
commit3680ec2d11722fb440d67ce5355a41ee01e009e6
tree904ce19ffdfe5ea2ccda134fef01add9fd6f8f6e
parent436693df29ce84dce5531086af7bd0e8525d1a03
ath5k: several off by one range checks

There are several places that use > ARRAY_SIZE() instead of
>= ARRAY_SIZE().

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ani.c