From 97b603a4e96565c3a3b09b9a4131d4107b0c6581 Mon Sep 17 00:00:00 2001 From: Peter Meerwald Date: Sat, 6 Dec 2014 06:00:00 +0000 Subject: [PATCH] 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-format-patch failed