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.
Vladimir Zapolskiy (2): misc/at24: avoid infinite loop on write() misc/93xx46: avoid infinite loop on write() drivers/misc/eeprom/at24.c | 3 +++ drivers/misc/eeprom/eeprom_93xx46.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

