commit | 29ff66571d38f01c5a5d3af871401b8a65323422 | [log] [tgz] |
---|---|---|
author | Simon Wood <simon@mungewell.org> | Thu Aug 14 20:43:01 2014 -0600 |
committer | Jiri Kosina <jkosina@suse.cz> | Fri Aug 15 10:54:13 2014 +0200 |
tree | f15a16911b64b63c5167d01193554a1fd356c429 | |
parent | daebdd7ee30b4ec7dd6a4e90f1f66c86ec113bbc [diff] |
HID: logitech: Prevent possibility of infinite loop when using /sys interface If the device data is not accessible for some reason, returning 0 will cause the call to be continuously called again as none of the string has been 'consumed'. Signed-off-by: Simon Wood <simon@mungewell.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>