ath9k_hw: Fix possible OOB array indexing in gen_timer_index[] on 64-bit

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Vasanthakumar Thiagarajan 2009-11-13 14:32:39 +05:30 committed by John W. Linville
parent c258d2de97
commit c90017dd43
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ struct ath9k_hw_version {
* Using de Bruijin sequence to to look up 1's index in a 32 bit number
* debruijn32 = 0000 0111 0111 1100 1011 0101 0011 0001
*/
#define debruijn32 0x077CB531UL
#define debruijn32 0x077CB531U
struct ath_gen_timer_configuration {
u32 next_addr;