From: Michael Hennerich Date: Wed, 6 Oct 2010 14:22:17 +0000 (+0200) Subject: staging: iio: adc: ad799x: prevent buffer overflow X-Git-Tag: v2.6.37-rc1~60^2~3^2~311 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=858f1ccff123469fb4257e2529ef8783aabf3b62;p=pandora-kernel.git staging: iio: adc: ad799x: prevent buffer overflow ring->access.read_last() reads the entire datum from the ring including padding and time stamp. Acked-by: Jonathan Cameron Signed-off-by: Michael Hennerich Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed