diff options
author | Martin Kepplinger | 2016-11-21 20:53:54 +0100 |
---|---|---|
committer | Jonathan Cameron | 2016-12-03 09:56:28 +0100 |
commit | 32b28076801cadf67eb8fce9aba09a9f08ef9c99 (patch) | |
tree | 9794c20bc4790d323f38f01c89fe48801412a40c /drivers/staging/iio/accel/adis16201_core.c | |
parent | iio: humidity: Support acpi probe for hts211 (diff) | |
download | kernel-qcow2-linux-32b28076801cadf67eb8fce9aba09a9f08ef9c99.tar.gz kernel-qcow2-linux-32b28076801cadf67eb8fce9aba09a9f08ef9c99.tar.xz kernel-qcow2-linux-32b28076801cadf67eb8fce9aba09a9f08ef9c99.zip |
iio: accel: mma8452: define unsigned return values where appropriate
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 <martink@posteo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio/accel/adis16201_core.c')
0 files changed, 0 insertions, 0 deletions