diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2009-11-13 04:02:39 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-13 17:43:59 -0500 |
commit | c90017dd43f0cdb42134b9229761e8be02bcd524 (patch) | |
tree | fa1c3407a4a9c33ceb57aafe6e7c40763a26b129 | |
parent | c258d2de972d1e391a3dec731e0801ed1cc85494 (diff) |
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>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 6d3e314c4bea..abaa2f09a3bc 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -432,7 +432,7 @@ struct ath9k_hw_version { | |||
432 | * Using de Bruijin sequence to to look up 1's index in a 32 bit number | 432 | * Using de Bruijin sequence to to look up 1's index in a 32 bit number |
433 | * debruijn32 = 0000 0111 0111 1100 1011 0101 0011 0001 | 433 | * debruijn32 = 0000 0111 0111 1100 1011 0101 0011 0001 |
434 | */ | 434 | */ |
435 | #define debruijn32 0x077CB531UL | 435 | #define debruijn32 0x077CB531U |
436 | 436 | ||
437 | struct ath_gen_timer_configuration { | 437 | struct ath_gen_timer_configuration { |
438 | u32 next_addr; | 438 | u32 next_addr; |