]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix error reported by smatch
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Tue, 14 Jan 2014 03:52:36 +0000 (09:22 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Jan 2014 19:55:41 +0000 (14:55 -0500)
commit7042c26aed569c74b581ecc659f4ecee3ac9448c
tree1dfaf11712e231d2e0aa5b73ec9c07f98713e415
parent2597ea4e123f156d2b62d582da20783d197d8fd1
ath9k: Fix error reported by smatch

debug_sta.c: ath_debug_rate_stats() error: buffer overflow 'rstats->ht_stats' 24 <= 24

Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/debug_sta.c