aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorBastien Nocera <[email protected]>2022-12-15 16:44:16 +0100
committerBenjamin Tissoires <[email protected]>2022-12-19 12:06:44 +0100
commit0e13e7b448005612972eae36c0f698c21d1e2f8a (patch)
treed24e040094ea8f8d38fbaee51c4ee9aa2ddd53c7 /tools/perf/scripts/python/mem-phys-addr.py
parent2043f9a37d163ef4f572992bec7cdcdf54d965de (diff)
HID: logitech-hidpp: Guard FF init code against non-USB devices
The Force Feedback code assumes that all the devices passed to it will be USB devices, but that might not be the case for emulated devices. Guard against a crash by checking the device type before poking at USB properties. Cc: [email protected] # v5.16+ Reported-by: Benjamin Tissoires <[email protected]> Signed-off-by: Bastien Nocera <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions