OpenCloudOS-Kernel/drivers/usb/class
Oliver Neukum 2a14759a03 cdc-acm: fix crash if flushed with nothing buffered
Under some circumstances acm_tty_flush_chars() is called
with no buffer to flush. We simply need to do nothing.

Signed-off-by: Oliver Neukum <ONeukum@suse.com>
Reported-by: Torsten Hilbrich <torsten.hilbrich@secunet.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-04-13 11:53:07 -07:00
..
Kconfig USB: regroup all depends on USB within an if USB block 2013-04-09 16:49:07 -07:00
Makefile USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
cdc-acm.c cdc-acm: fix crash if flushed with nothing buffered 2016-04-13 11:53:07 -07:00
cdc-acm.h cdc-acm: implement put_char() and flush_chars() 2016-02-14 17:06:43 -08:00
cdc-wdm.c cdc-wdm: error returns need to be translated 2015-03-26 10:51:57 +01:00
usblp.c usblp: do not set TASK_INTERRUPTIBLE before lock 2015-11-19 16:31:42 -08:00
usbtmc.c usb: usbtmc: Fix disconnect/poll interaction 2016-02-20 20:21:53 -08:00