From: Jonathan Cameron Date: Mon, 27 Aug 2012 17:40:04 +0000 (+0100) Subject: iio:kfifo_buf improve error handling in read_first_n. X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~795^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08ce9b44b53c580987b6a63df4e2206e45e20b92;p=pandora-kernel.git iio:kfifo_buf improve error handling in read_first_n. These two elements were originally in the patch iio:kfifo_buf Take advantage of the fixed record size used in IIO but Lars-Peter Clausen pointed out they should not have been so here they are. Signed-off-by: Jonathan Cameron Tested-by: Lars-Peter Clausen --- Reading git-diff-tree failed