staging: iio: ring_sw: Fix incorrect test on successful read of last value, causes...
authorJonathan Cameron <jic23@cam.ac.uk>
Tue, 30 Mar 2010 16:45:04 +0000 (17:45 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Apr 2010 16:30:09 +0000 (09:30 -0700)
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>

No differences found