]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit446c017f3aa393f103b3aa1c892e674a959eba54
tree005180f44bc8ead9578b88cbc17cc2d066189e04
parentc5a08aa39e842a922992830febfcc5c65626c32c
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: a6e71f2e88a3 ("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