From: Simon Wood Date: Fri, 15 Aug 2014 02:43:01 +0000 (-0600) Subject: HID: logitech: Prevent possibility of infinite loop when using /sys interface X-Git-Tag: omap-for-v3.17/fixes-against-rc2~28^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29ff66571d38f01c5a5d3af871401b8a65323422;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed