diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-05-10 22:21:17 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-05-11 22:02:20 +0300 |
commit | d9739a26fbcaa11c026dd79bc310af96003f20d8 (patch) | |
tree | 115bc6a901896eae3e846dfd3728c032d2956992 /drivers/net/wireless/realtek | |
parent | 03ba4a1b718e3a018f38f1ee030de4cd052bb3f3 (diff) | |
download | talos-obmc-linux-d9739a26fbcaa11c026dd79bc310af96003f20d8.tar.gz talos-obmc-linux-d9739a26fbcaa11c026dd79bc310af96003f20d8.zip |
atmel: potential underflow in atmel_set_freq()
Smatch complains that we cap the upper bound of "fwrq->m" but not the
lower bound. I don't know if it can actually happen but it's simple
enough to 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/realtek')
0 files changed, 0 insertions, 0 deletions