aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2021-12-01 19:35:03 +0100
committerBenjamin Tissoires <[email protected]>2021-12-02 15:36:18 +0100
commit93020953d0fa7035fd036ad87a47ae2b7aa4ae33 (patch)
treef734e9962e28cedcccfbb109e510d39a18ed6d34 /scripts/gdb/linux/utils.py
parent720ac467204a70308bd687927ed475afb904e11b (diff)
HID: check for valid USB device for many HID drivers
Many HID drivers assume that the HID device assigned to them is a USB device as that was the only way HID devices used to be able to be created in Linux. However, with the additional ways that HID devices can be created for many different bus types, that is no longer true, so properly check that we have a USB device associated with the HID device before allowing a driver that makes this assumption to claim it. Cc: Jiri Kosina <[email protected]> Cc: Benjamin Tissoires <[email protected]> Cc: Michael Zaidman <[email protected]> Cc: Stefan Achatz <[email protected]> Cc: Maxime Coquelin <[email protected]> Cc: Alexandre Torgue <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> Tested-by: Benjamin Tissoires <[email protected]> [bentiss: amended for thrustmater.c hunk to apply] Signed-off-by: Benjamin Tissoires <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions