From: Vladimir Zapolskiy Date: Mon, 28 Oct 2013 17:05:15 +0000 (+0200) Subject: misc/at24: avoid infinite loop on write() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~65^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c65e29250a3154cac18b527b6ccfc61f8f08c58;p=pandora-kernel.git misc/at24: 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: Wolfram Sang Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed