aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorSimon Wood <[email protected]>2014-08-15 02:43:01 +0000
committerJiri Kosina <[email protected]>2014-08-15 08:54:13 +0000
commit29ff66571d38f01c5a5d3af871401b8a65323422 (patch)
treef15a16911b64b63c5167d01193554a1fd356c429 /lib/dynamic_debug.c
parentHID: rmi: print an error if F11 is not found instead of stopping the device (diff)
downloadkernel-29ff66571d38f01c5a5d3af871401b8a65323422.tar.gz
kernel-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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions