Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1399428

Re: atmel: potential underflow in atmel_set_freq()

From Kalle Valo <kvalo@codeaurora.org>
Newsgroups linux.kernel
Subject Re: atmel: potential underflow in atmel_set_freq()
Date 2016-05-11 21:10 +0200
Message-ID <rxHGa-6be-5@gated-at.bofh.it> (permalink)
References <rxlvY-Gw-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Dan Carpenter <dan.carpenter@oracle.com> wrote:
> 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>

Thanks, 1 patch applied to wireless-drivers-next.git:

d9739a26fbca atmel: potential underflow in atmel_set_freq()

-- 
Sent by pwcli
https://patchwork.kernel.org/patch/9061371/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[patch] atmel: potential underflow in atmel_set_freq() Dan Carpenter <dan.carpenter@oracle.com> - 2016-05-10 21:30 +0200
  Re: atmel: potential underflow in atmel_set_freq() Kalle Valo <kvalo@codeaurora.org> - 2016-05-11 21:10 +0200

csiph-web