ChangeSet 1.1673.8.24, 2004/03/26 11:18:25-08:00, [EMAIL PROTECTED]

[PATCH] USB: fix bug in usb-skeleton.c


 drivers/usb/usb-skeleton.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/usb/usb-skeleton.c b/drivers/usb/usb-skeleton.c
--- a/drivers/usb/usb-skeleton.c        Wed Apr 14 14:38:20 2004
+++ b/drivers/usb/usb-skeleton.c        Wed Apr 14 14:38:20 2004
@@ -516,7 +516,7 @@
        dev = kmalloc (sizeof(struct usb_skel), GFP_KERNEL);
        if (dev == NULL) {
                err ("Out of memory");
-               goto error;
+               return -ENOMEM;
        }
        memset (dev, 0x00, sizeof (*dev));
 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to