Fix usb_serial_probe() problem introduced by the recent kfifo changes
authorStefani Seibold <stefani@seibold.net>
Wed, 23 Dec 2009 08:10:48 +0000 (09:10 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Dec 2009 16:53:31 +0000 (08:53 -0800)
commit119eecc831a42bd090543568932e440c6831f1bb
treefc57e3afc6e419522c1294787b03e3798f69ea43
parentc9f937e4a3f4ebf9924ec21d80632e5eb61d949c
Fix usb_serial_probe() problem introduced by the recent kfifo changes

The USB serial code was a new user of the kfifo API, and it was missed
when porting things to the new kfifo API.

Please make the write_fifo in place.  Here is my patch to fix the
regression and full ported version.

Signed-off-by: Stefani Seibold <stefani@seibold.net>
Reported-and-tested-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Greg KH <greg@kroah.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/serial/generic.c
drivers/usb/serial/usb-serial.c
include/linux/usb/serial.h