From: Vasanthakumar Thiagarajan Date: Tue, 21 Dec 2010 09:42:43 +0000 (-0800) Subject: ath9k_hw: Fix bug in eeprom data length validation for AR9485 X-Git-Tag: v2.6.38-rc1~476^2~14^2~3^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0ce2d170585b7061a08af061d64ebb08c6782dd;p=pandora-kernel.git ath9k_hw: Fix bug in eeprom data length validation for AR9485 The size of the eeprom data is 1088 bytes for AR9485. But a sanity check is done against 4K which would result in a 'potential read past the end of the buffer' smatch complaint. Reported-by: Dan Carpenter Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: John W. Linville --- Reading git-diff-tree failed