]> git.baikalelectronics.ru Git - kernel.git/commit
USB: option: reduce interrupt-urb logging verbosity
authorJohan Hovold <johan@kernel.org>
Tue, 29 Jul 2014 12:14:55 +0000 (14:14 +0200)
committerJohan Hovold <johan@kernel.org>
Mon, 18 Aug 2014 09:05:37 +0000 (11:05 +0200)
commit79bf21250e7203b18a3e59579c2809916e232194
tree5b88acccc4b8826a49d97c109b50ef810cde3197
parentf45f9587f1dd1e89dd1c89561c9572f777c5bcb7
USB: option: reduce interrupt-urb logging verbosity

Do not log normal interrupt-urb shutdowns as errors.

The option driver has always been logging any nonzero interrupt-urb
status as an error, including when the urb is killed during normal
operation.

Commit fed62540cf68 ("USB: usb_wwan: fix potential NULL-deref at
resume") moved the interrupt urb submission from port probe and release
to open and close, thus potentially increasing the number of these
false-positive error messages dramatically.

Reported-by: Ed Butler <ressy66@ausics.net>
Tested-by: Ed Butler <ressy66@ausics.net>
Cc: <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/option.c