From: Jonathan Cameron Date: Tue, 30 Mar 2010 16:45:04 +0000 (+0100) Subject: staging: iio: ring_sw: Fix incorrect test on successful read of last value, causes... X-Git-Tag: v2.6.34-rc7~36^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4845187b39b79e3c1d4474c2767ddc7fb493eb05;p=pandora-kernel.git staging: iio: ring_sw: Fix incorrect test on successful read of last value, causes infinite loop This is a bad one. The test means that almost no reads of the last value ever succeed! Result is an infinite loop. Another one for the 'oops' category. Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed