From: Peter Meerwald Date: Sat, 6 Dec 2014 06:00:00 +0000 (+0000) Subject: staging:iio: Fix error handling in generic_buffer example X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1942^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97b603a4e96565c3a3b09b9a4131d4107b0c6581;p=pandora-kernel.git staging:iio: Fix error handling in generic_buffer example read() does not return -EAGAIN read() returns -1 and the errno value needs to be checked for -EAGAIN Signed-off-by: Peter Meerwald Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed