summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorWolfram Sang2014-01-10 19:36:41 +0100
committerGreg Kroah-Hartman2014-01-11 01:54:35 +0100
commitc63fe8f6ca3669f1d120ff70523e2911b9966574 (patch)
treed4f9e03eb7d36baf2753f00d42539ad9f36ff90b /Kconfig
parentUSB: image: correct spelling mistake in comment (diff)
downloadkernel-qcow2-linux-c63fe8f6ca3669f1d120ff70523e2911b9966574.tar.gz
kernel-qcow2-linux-c63fe8f6ca3669f1d120ff70523e2911b9966574.tar.xz
kernel-qcow2-linux-c63fe8f6ca3669f1d120ff70523e2911b9966574.zip
usb: core: add sanity checks when using bInterfaceClass with new_id
Check if that field is actually used and if so, bail out if it exeeds a u8. Make it also future-proof by not requiring "exactly three" parameters in new_id, but simply "more than two". Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions