diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-10-19 17:51:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-19 13:57:05 -0700 |
commit | cd8eca6f77108617a8c47a800533f1b78a357a79 (patch) | |
tree | a75244bd5b24513bdbb04a8c5c7d2cd79aac8771 /arch | |
parent | 75bb23a2150e385230d1db52065641ca7cef63d3 (diff) | |
download | talos-obmc-linux-cd8eca6f77108617a8c47a800533f1b78a357a79.tar.gz talos-obmc-linux-cd8eca6f77108617a8c47a800533f1b78a357a79.zip |
staging:iio:dac:ad5686: Check for negative values
Currently it is possible to write negative values to the ad5686's raw attribute.
This will cause undefined behaviour, so reject negative values.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions