aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <[email protected]>2013-10-28 19:05:16 +0200
committerGreg Kroah-Hartman <[email protected]>2013-10-29 16:24:33 -0700
commit95f774c5268843e78fdb732cd4f27e510bbbba83 (patch)
tree3365a712921f2610c7f5ac21d4c4545f5d8dd058 /lib/memory-notifier-error-inject.c
parent5c6d6fd1564138ad048564e48639f842714a90c6 (diff)
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 <[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