diff options
author | Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> | 2013-10-28 18:05:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-30 00:24:33 +0100 |
commit | 95f774c5268843e78fdb732cd4f27e510bbbba83 (patch) | |
tree | 3365a712921f2610c7f5ac21d4c4545f5d8dd058 /drivers/scsi | |
parent | misc: atmel_pwm: add deferred-probing support (diff) | |
download | linux-95f774c5268843e78fdb732cd4f27e510bbbba83.tar.xz linux-95f774c5268843e78fdb732cd4f27e510bbbba83.zip |
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 <vladimir_zapolskiy@mentor.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions