From: Alan Stern Date: Mon, 3 Mar 2008 20:16:04 +0000 (-0500) Subject: USB: check serial-number string after device reset X-Git-Tag: v2.6.26-rc1~1061^2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb764c4be1e5db3ee34df5745e98cf2f148c7320;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed