Alan Stern eb764c4be1 USB: check serial-number string after device reset
This patch (as1048) extends the descriptor checking after a device is
reset.  Now the SerialNumber string descriptor is compared to its old
value, in addition to the device and configuration descriptors.

As a consequence, the kmalloc() call in usb_string() is now on the
error-handling pathway for usb-storage.  Hence its allocation type is
changed to GFO_NOIO.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-04-24 21:16:33 -07:00
..
2005-04-16 15:20:36 -07:00
2007-07-12 16:34:42 -07:00
2005-04-16 15:20:36 -07:00
2006-11-30 05:21:10 +01:00
2005-04-16 15:20:36 -07:00
2008-02-01 14:34:47 -08:00
2005-04-16 15:20:36 -07:00
2006-10-03 22:55:17 +02:00
2005-04-16 15:20:36 -07:00
2006-11-30 04:55:36 +01:00
2005-04-16 15:20:36 -07:00
2006-10-03 22:55:17 +02:00
2007-10-20 01:30:25 +02:00