aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-06-06 11:20:54 +0300
committerJiri Kosina <[email protected]>2023-06-08 17:00:09 +0200
commit89e756e3cc8d9c1ebc0f2b2f6912227073d93118 (patch)
treeee8a5355bb47e34442030b19b857465567bc78fb /tools/perf/scripts/python
parent62c68e7cee332e08e625af3bca3318814086490d (diff)
HID: fix an error code in hid_check_device_match()
The hid_check_device_match() returns true if we find a match and false if we don't. But here it returns -ENODEV which becomes true instead of false. Fixes: 207733f92661 ("HID: split apart hid_device_probe to make logic more apparent") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Reviewed-by: Dmitry Torokhov <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions