diff options
author | Vladimir Zapolskiy <[email protected]> | 2013-10-28 19:05:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-10-29 16:24:33 -0700 |
commit | 7c65e29250a3154cac18b527b6ccfc61f8f08c58 (patch) | |
tree | d9f6f559b4f85249eba7b59b30aed91a905bf9ec /lib/memory-notifier-error-inject.c | |
parent | 95f774c5268843e78fdb732cd4f27e510bbbba83 (diff) |
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 <[email protected]>
Cc: Wolfram Sang <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions