From: Vladimir Zapolskiy Date: Mon, 28 Oct 2013 17:05:16 +0000 (+0200) Subject: misc/93xx46: avoid infinite loop on write() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~65^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95f774c5268843e78fdb732cd4f27e510bbbba83;p=pandora-kernel.git misc/93xx46: avoid infinite loop on write() This change fixes a problem of infinite zero byte write() without an error status, if there is an attempt to write a file bigger than EEPROM size over sysfs interface. Signed-off-by: Vladimir Zapolskiy Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed