aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2021-12-01 19:35:02 +0100
committerBenjamin Tissoires <[email protected]>2021-12-02 15:36:12 +0100
commit720ac467204a70308bd687927ed475afb904e11b (patch)
treef8564434b0c0cd4b8b461b6cb61a6db2b14d2bbd /tools/perf/scripts/python
parentf83baa0cb6cfc92ebaf7f9d3a99d7e34f2e77a8a (diff)
HID: wacom: fix problems when device is not a valid USB device
The wacom driver accepts devices of more than just USB types, but some code paths can cause problems if the device being controlled is not a USB device due to a lack of checking. Add the needed checks to ensure that the USB device accesses are only happening on a "real" USB device, and not one on some other bus. Cc: Jiri Kosina <[email protected]> Cc: Benjamin Tissoires <[email protected]> Cc: [email protected] Cc: [email protected] Tested-by: Benjamin Tissoires <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions