# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.220.2.5 -> 1.220.2.6 # drivers/usb/storage/usb.c 1.10 -> 1.11 # drivers/usb/storage/transport.c 1.10 -> 1.11 # drivers/usb/storage/scsiglue.c 1.12 -> 1.13 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 02/02/06 greg@soap.kroah.net 1.220.2.6 # usb_submit_urb() changes. # Patch done by Oliver Neukum. # -------------------------------------------- # diff -Nru a/drivers/usb/storage/scsiglue.c b/drivers/usb/storage/scsiglue.c --- a/drivers/usb/storage/scsiglue.c Wed Feb 6 20:48:36 2002 +++ b/drivers/usb/storage/scsiglue.c Wed Feb 6 20:48:36 2002 @@ -278,7 +278,7 @@ if (us->protocol == US_PR_CBI) { down(&(us->irq_urb_sem)); us->irq_urb->dev = us->pusb_dev; - result = usb_submit_urb(us->irq_urb); + result = usb_submit_urb(us->irq_urb, GFP_NOIO); US_DEBUGP("usb_submit_urb() returns %d\n", result); up(&(us->irq_urb_sem)); } diff -Nru a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c --- a/drivers/usb/storage/transport.c Wed Feb 6 20:48:36 2002 +++ b/drivers/usb/storage/transport.c Wed Feb 6 20:48:36 2002 @@ -414,7 +414,7 @@ us->current_urb->transfer_flags = USB_ASYNC_UNLINK; /* submit the URB */ - status = usb_submit_urb(us->current_urb); + status = usb_submit_urb(us->current_urb, GFP_NOIO); if (status) { /* something went wrong */ up(&(us->current_urb_sem)); @@ -461,7 +461,7 @@ us->current_urb->transfer_flags = USB_ASYNC_UNLINK; /* submit the URB */ - status = usb_submit_urb(us->current_urb); + status = usb_submit_urb(us->current_urb, GFP_NOIO); if (status) { /* something went wrong */ up(&(us->current_urb_sem)); diff -Nru a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c --- a/drivers/usb/storage/usb.c Wed Feb 6 20:48:36 2002 +++ b/drivers/usb/storage/usb.c Wed Feb 6 20:48:36 2002 @@ -534,7 +534,7 @@ usb_stor_CBI_irq, ss, ss->ep_int->bInterval); /* submit the URB for processing */ - result = usb_submit_urb(ss->irq_urb); + result = usb_submit_urb(ss->irq_urb, GFP_KERNEL); US_DEBUGP("usb_submit_urb() returns %d\n", result); if (result) { usb_free_urb(ss->irq_urb);