commit | 4845187b39b79e3c1d4474c2767ddc7fb493eb05 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@cam.ac.uk> | Tue Mar 30 17:45:04 2010 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Apr 30 09:30:09 2010 -0700 |
tree | 78743d925597e96220b6a1d63fdd3f72bac1f766 | |
parent | a8947fcf3bbeda9fc6ff1205e51f8ff1b0128cc4 [diff] |
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 <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>