summaryrefslogtreecommitdiff
path: root/ipc/compat.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-07-17 14:44:00 (GMT)
committerJonathan Cameron <jic23@kernel.org>2013-08-03 17:41:20 (GMT)
commitf4f87d04116ab2f1419f1e85c1c9504536858b88 (patch)
tree9e730d0d6d639f2f0aa1b58c06526c776c5fe0d4 /ipc/compat.c
parent988c79a95e30dac019777e818cbfab6fdc4057b4 (diff)
downloadlinux-fsl-qoriq-f4f87d04116ab2f1419f1e85c1c9504536858b88.tar.xz
staging:iio:adis16260: Add value range check for calibscale/-bias
Instead of just cutting of the upper bits of the value make sure that the value is in the valid range and return an error if it is not. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions