patch-2.4.19 linux-2.4.19/drivers/usb/se401.c

Next file: linux-2.4.19/drivers/usb/serial/Config.in
Previous file: linux-2.4.19/drivers/usb/rtl8150.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/usb/se401.c linux-2.4.19/drivers/usb/se401.c
@@ -646,7 +646,7 @@
 	for (i=0; i<SE401_NUMSBUF; i++) {
 		urb=usb_alloc_urb(0);
 		if(!urb)
-			return ENOMEM;
+			return -ENOMEM;
 
 		FILL_BULK_URB(urb, se401->dev,
 			usb_rcvbulkpipe(se401->dev, SE401_VIDEO_ENDPOINT),

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