diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-11-06 13:01:20 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2016-02-13 10:34:04 +0000 |
commit | 636109645fa424fd896db9f25ddfd39a6cdc110f (patch) | |
tree | 167bf3f9324a74d2132e7c92920b063de8b87266 /include/linux/8250_pci.h | |
parent | c2456538435026a255f4cb0ae25e48fa0970bb06 (diff) | |
download | lwn-636109645fa424fd896db9f25ddfd39a6cdc110f.tar.gz lwn-636109645fa424fd896db9f25ddfd39a6cdc110f.zip |
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 <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/8250_pci.h')
0 files changed, 0 insertions, 0 deletions