Re: atmel: potential underflow in atmel_set_freq()

From: Kalle Valo
Date: Wed May 11 2016 - 15:03:39 EST


Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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@xxxxxxxxxx>

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/