--- usb.c.p     Fri Feb  8 15:59:23 2002
+++ usb.c       Sat Feb  9 12:06:13 2002
@@ -515,7 +515,7 @@
        down(&(ss->irq_urb_sem));
 
        /* allocate the URB */
-       ss->irq_urb = usb_alloc_urb(0);
+       ss->irq_urb = usb_alloc_urb(0, GFP_KERNEL);
        if (!ss->irq_urb) {
                up(&(ss->irq_urb_sem));
                US_DEBUGP("couldn't allocate interrupt URB");
@@ -730,7 +730,7 @@
                }
 
                /* allocate the URB we're going to use */
-               ss->current_urb = usb_alloc_urb(0);
+               ss->current_urb = usb_alloc_urb(0, GFP_KERNEL);
                if (!ss->current_urb) {
                        usb_dec_dev_use(dev);
                        return NULL;
@@ -756,7 +756,7 @@
                memset(ss, 0, sizeof(struct us_data));
 
                /* allocate the URB we're going to use */
-               ss->current_urb = usb_alloc_urb(0);
+               ss->current_urb = usb_alloc_urb(0, GFP_KERNEL);
                if (!ss->current_urb) {
                        kfree(ss);
                        usb_dec_dev_use(dev);


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to