aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorAndrew Duggan <[email protected]>2017-10-18 01:37:36 +0000
committerJiri Kosina <[email protected]>2017-10-19 08:03:50 +0000
commitef14a4bf0910d06c7e202552914028d4956809cb (patch)
tree168d34355b77bdf9cedc918e7fbd2ffd4a28e18d /net/switchdev/switchdev.c
parentHID: add multi-input quirk for GamepadBlock (diff)
downloadkernel-ef14a4bf0910d06c7e202552914028d4956809cb.tar.gz
kernel-ef14a4bf0910d06c7e202552914028d4956809cb.zip
HID: rmi: Check that a device is a RMI device before calling RMI functions
The hid-rmi driver may handle non rmi devices on composite USB devices. Callbacks need to make sure that the current device is a RMI device before calling RMI specific functions. Most callbacks already have this check, but this patch adds checks to the remaining callbacks. Reported-by: Hendrik Langer <[email protected]> Tested-by: Hendrik Langer <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Signed-off-by: Andrew Duggan <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions