git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75bb23a
)
staging:iio:dac:ad5686: Check for negative values
author
Lars-Peter Clausen
<lars@metafoo.de>
Wed, 19 Oct 2011 15:51:28 +0000
(17:51 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 19 Oct 2011 20:57:05 +0000
(13:57 -0700)
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>
No differences found