summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-logitech-dj.c
diff options
context:
space:
mode:
authorSimon Wood <simon@mungewell.org>2014-08-15 04:43:01 +0200
committerJiri Kosina <jkosina@suse.cz>2014-08-15 10:54:13 +0200
commit29ff66571d38f01c5a5d3af871401b8a65323422 (patch)
treef15a16911b64b63c5167d01193554a1fd356c429 /drivers/hid/hid-logitech-dj.c
parentHID: rmi: print an error if F11 is not found instead of stopping the device (diff)
downloadlinux-29ff66571d38f01c5a5d3af871401b8a65323422.tar.xz
linux-29ff66571d38f01c5a5d3af871401b8a65323422.zip
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>
Diffstat (limited to 'drivers/hid/hid-logitech-dj.c')
0 files changed, 0 insertions, 0 deletions