Here it is.
Regards
Oliver
--- drivers/usb/hpusbscsi.c.pre Sun Feb 3 15:49:30 2002
+++ drivers/usb/hpusbscsi.c Sun Feb 3 15:51:49 2002
@@ -56,12 +56,12 @@
return NULL;
DEBUG ("Allocated memory\n");
memset (new, 0, sizeof (struct hpusbscsi));
- new->dataurb = usb_alloc_urb(0);
+ new->dataurb = usb_alloc_urb(0, GFP_KERNEL);
if (!new->dataurb) {
kfree (new);
return NULL;
}
- new->controlurb = usb_alloc_urb(0);
+ new->controlurb = usb_alloc_urb(0, GFP_KERNEL);
if (!new->controlurb) {
usb_free_urb (new->dataurb);
kfree (new);
@@ -245,7 +245,7 @@
desc->interrupt_interval
);
- if ( 0 > usb_submit_urb(desc->controlurb)) {
+ if ( 0 > usb_submit_urb(desc->controlurb, GFP_KERNEL)) {
kfree(sht->proc_name);
return 0;
}
@@ -321,7 +321,7 @@
hpusbscsi->scallback = callback;
hpusbscsi->srb = srb;
- res = usb_submit_urb(hpusbscsi->dataurb);
+ res = usb_submit_urb(hpusbscsi->dataurb, GFP_ATOMIC);
if (unlikely(res)) {
hpusbscsi->state = HP_STATE_FREE;
TRACE_STATE;
@@ -460,7 +460,7 @@
hpusbscsi
);
- res = usb_submit_urb(u);
+ res = usb_submit_urb(u, GFP_ATOMIC);
if (unlikely(res))
hpusbscsi->state = HP_STATE_ERROR;
TRACE_STATE;
@@ -509,7 +509,7 @@
hpusbscsi
);
- res = usb_submit_urb(u);
+ res = usb_submit_urb(u, GFP_ATOMIC);
if (unlikely(res)) {
handle_usb_error(hpusbscsi);
return;
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel