diff options
author | Bjørn Mork <bjorn@mork.no> | 2012-05-09 15:53:22 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-12 02:19:22 +0400 |
commit | 6b0b79d38806481c1c8fffa7c5842f3c83679a42 (patch) | |
tree | a245e513829756b11694ced5a7ba1fb5dee38b67 /.mailmap | |
parent | 616b6937e348ef2b4c6ea5fef2cd3c441145efb0 (diff) | |
download | linux-6b0b79d38806481c1c8fffa7c5842f3c83679a42.tar.xz |
USB: cdc-wdm: cannot use dev_printk when device is gone
We cannot dereference a removed USB interface for
dev_printk. Use pr_debug instead where necessary.
Flush errors are expected if device is unplugged and are
therefore best ingored at this point.
Move the kill_urbs() call in wdm_release with dev_dbg()
for the non disconnect, as we know it has already been
called if WDM_DISCONNECTING is set. This does not
actually fix anything, but keeps the code more consistent.
Cc: Oliver Neukum <oliver@neukum.org>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions