patch-2.4.25 linux-2.4.25/drivers/usb/usb.c

Next file: linux-2.4.25/drivers/usb/vicam.c
Previous file: linux-2.4.25/drivers/usb/storage/usb.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/usb/usb.c linux-2.4.25/drivers/usb/usb.c
@@ -1198,7 +1198,7 @@
 int usb_control_msg(struct usb_device *dev, unsigned int pipe, __u8 request, __u8 requesttype,
 			 __u16 value, __u16 index, void *data, __u16 size, int timeout)
 {
-	struct usb_ctrlrequest *dr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL);
+	struct usb_ctrlrequest *dr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_NOIO);
 	int ret;
 	
 	if (!dr)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)