diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-05-10 22:20:37 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-05-11 22:01:38 +0300 |
commit | 03ba4a1b718e3a018f38f1ee030de4cd052bb3f3 (patch) | |
tree | 7c87a0dddb75a4bbf27a378542302963d1bc75d6 /drivers/net/wireless/atmel | |
parent | 50d4d8feb9133abb5b8fcb22c48ec509295fdc43 (diff) | |
download | linux-03ba4a1b718e3a018f38f1ee030de4cd052bb3f3.tar.bz2 |
airo: prevent potential underflow in airo_set_freq()
I'm not sure if this can underflow but Smatch complains. It seems
harmless to add a check for negatives.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/atmel')
0 files changed, 0 insertions, 0 deletions