USB: cdc-wdm: fix misuse of logical operation in place of bitop
PATCH 1/1 USB: cdc-wdm: fix misuse of logical operation in place of bitop
CC Greg Kroah-Hartman <[email protected]>
CC Oliver Neukum <[email protected]>
CC Marcel Holtmann <[email protected]>
Signed-off-by David Sterba <[email protected]>
--- drivers/usb/class/cdc-wdm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/class/cdc-wdm.c +1 -1
@@ -342,7 +342,7 @@ static ssize_t wdm_write goto outnp; } -if (!file->f_flags &&O_NONBLOCK ) +if (!(file->f_flags &O_NONBLOCK )) r =wait_event_interruptible (desc->wait, !test_bit (WDM_IN_USE , &desc->flags));else
Signature · 1 line
1.7.3.4.626.g73e7b