USB: usbdevfs: restore warning for nonsensical flags
authorOliver Neukum <oneukum@suse.com>
Wed, 5 Sep 2018 10:07:03 +0000 (12:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Sep 2018 10:48:39 +0000 (12:48 +0200)
commit81e0403b26d94360abd1f6a57311337973bc82cd
tree005180f44bc8ead9578b88cbc17cc2d066189e04
parent7a68d9fb851012829c29e770621905529bd9490b
USB: usbdevfs: restore warning for nonsensical flags

If we filter flags before they reach the core we need to generate our
own warnings.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Fixes: 0cb54a3e47cb ("USB: debugging code shouldn't alter control flow")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/devio.c