ChangeSet 1.1673.8.24, 2004/03/26 11:18:25-08:00, patrick.boettcher@desy.de [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));