On 21/11/16 19:53, Martin Kepplinger wrote:
> smatch warned:
> sval_binop_signed: invalid divide LLONG_MIN/-1
>
> and this fixes it. It's actually good to have, in order to avoid accidental
> checking for negative return values here.
>
> Signed-off-by: Martin Kepplinger
On 21/11/16 19:53, Martin Kepplinger wrote:
> smatch warned:
> sval_binop_signed: invalid divide LLONG_MIN/-1
>
> and this fixes it. It's actually good to have, in order to avoid accidental
> checking for negative return values here.
>
> Signed-off-by: Martin Kepplinger
I'm assuming the
smatch warned:
sval_binop_signed: invalid divide LLONG_MIN/-1
and this fixes it. It's actually good to have, in order to avoid accidental
checking for negative return values here.
Signed-off-by: Martin Kepplinger
---
drivers/iio/accel/mma8452.c | 4 ++--
1 file
smatch warned:
sval_binop_signed: invalid divide LLONG_MIN/-1
and this fixes it. It's actually good to have, in order to avoid accidental
checking for negative return values here.
Signed-off-by: Martin Kepplinger
---
drivers/iio/accel/mma8452.c | 4 ++--
1 file changed, 2
4 matches
Mail list logo