From: Lars-Peter Clausen Date: Wed, 19 Oct 2011 15:51:28 +0000 (+0200) Subject: staging:iio:dac:ad5686: Check for negative values X-Git-Tag: v3.2-rc1~169^2^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd8eca6f77108617a8c47a800533f1b78a357a79;p=pandora-kernel.git 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 Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed