ChangeSet 1.1595.7.12, 2003/07/30 13:08:25-07:00, bellucda@tiscali.it [PATCH] USB: Audit usb_register() in drivers/usb/net/catc.c drivers/usb/net/catc.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff -Nru a/drivers/usb/net/catc.c b/drivers/usb/net/catc.c --- a/drivers/usb/net/catc.c Fri Aug 1 10:55:22 2003 +++ b/drivers/usb/net/catc.c Fri Aug 1 10:55:22 2003 @@ -989,9 +989,10 @@ static int __init catc_init(void) { - info(DRIVER_VERSION " " DRIVER_DESC); - usb_register(&catc_driver); - return 0; + int result = usb_register(&catc_driver); + if (result == 0) + info(DRIVER_VERSION " " DRIVER_DESC); + return result; } static void __exit catc_exit(void)