From: Dan Carpenter Date: Fri, 6 Nov 2015 10:01:20 +0000 (+0300) Subject: ath9k_htc: check for underflow in ath9k_htc_rx_msg() X-Git-Tag: v3.2.77~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=636109645fa424fd896db9f25ddfd39a6cdc110f;p=pandora-kernel.git ath9k_htc: check for underflow in ath9k_htc_rx_msg() commit 3a318426e09a9c9266fe6440842e11238f640a20 upstream. We check for overflow here, but we don't check for underflow so it causes a static checker warning. Fixes: fb9987d0f748 ('ath9k_htc: Support for AR9271 chipset.') Signed-off-by: Dan Carpenter Signed-off-by: Kalle Valo Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed