lkml.org 
[lkml]   [2013]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] misc/eeprom: avoid infinite write() loop over sysfs interface
Date
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



\
 
 \ /
  Last update: 2013-10-28 18:21    [W:0.034 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site