On Tue, Dec 08, 2009 at 09:44:20AM +0100, Oliver Neukum wrote: > Am Dienstag, 8. Dezember 2009 02:12:20 schrieb Sarah Sharp: > > + xhci_dbg(xhci, "Resetting device with slot ID %u\n", slot_id); > > + /* Allocate the command structure that holds the struct completion. > > + * Assume we're in process context, since the normal device reset > > + * process has to wait for the device anyway. > > + */ > > + reset_device_cmd = xhci_alloc_command(xhci, false, true, GFP_KERNEL); > > That's wrong. Storage devices are reset as part of error handling. > Therefore any memory allocations in the reset path must be GFP_NOIO. Ok, I'll fix that. Sarah -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html