]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:51:19 +0000 (19:51 -0600)
commit87391fdd4eb1c329d2b1eb8cf6d6c4b9a5ca041f
tree51158cd16c81bc4ea8912eed14d1ba4600c1c44d
parent07cfc3a21904c16dd5c4b5a3b8a0713427ac9a8c
USB: usbdevfs: restore warning for nonsensical flags

BugLink: https://bugs.launchpad.net/bugs/1836287
commit 81e0403b26d94360abd1f6a57311337973bc82cd upstream.

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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/usb/core/devio.c