This patch adds propper error handling to the linux' read functions. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>