From: Wolfram Sang Date: Fri, 10 Jan 2014 18:36:41 +0000 (+0100) Subject: usb: core: add sanity checks when using bInterfaceClass with new_id X-Git-Tag: v3.14-rc1~148^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c63fe8f6;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed