diff options
author | Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> | 2013-10-28 18:05:15 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-30 00:24:33 +0100 |
commit | 7c65e29250a3154cac18b527b6ccfc61f8f08c58 (patch) | |
tree | d9f6f559b4f85249eba7b59b30aed91a905bf9ec /drivers/mfd/stmpe-i2c.c | |
parent | misc/93xx46: avoid infinite loop on write() (diff) | |
download | linux-7c65e29250a3154cac18b527b6ccfc61f8f08c58.tar.xz linux-7c65e29250a3154cac18b527b6ccfc61f8f08c58.zip |
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 <vladimir_zapolskiy@mentor.com>
Cc: Wolfram Sang <w.sang@pengutronix.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/stmpe-i2c.c')
0 files changed, 0 insertions, 0 deletions