diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2009-11-13 14:32:39 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-13 17:43:59 -0500 |
commit | c90017dd43f0cdb42134b9229761e8be02bcd524 (patch) | |
tree | fa1c3407a4a9c33ceb57aafe6e7c40763a26b129 /drivers | |
parent | c258d2de972d1e391a3dec731e0801ed1cc85494 (diff) | |
download | op-kernel-dev-c90017dd43f0cdb42134b9229761e8be02bcd524.zip op-kernel-dev-c90017dd43f0cdb42134b9229761e8be02bcd524.tar.gz |
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>
Diffstat (limited to 'drivers')
-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 6d3e314..abaa2f0 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 { * 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; |