summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/moxa/moxart_ether.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-11-06 13:01:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-10 10:26:12 +0200
commit12e4db13ea5c4baf83950dbb74663ad5fb0ac820 (patch)
treedfa2311a26ff5d2eb8cfa1358d865d965dc4bd26 /drivers/net/ethernet/moxa/moxart_ether.c
parent78fd4e08b5541a301bf23e928dfa79b72c0e3aa1 (diff)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/moxa/moxart_ether.c')
0 files changed, 0 insertions, 0 deletions