ChangeSet 1.1276.1.34, 2003/08/27 11:29:00-07:00, bellucda@tiscali.it [PATCH] Another bad usb_register audit: dvb-ttusb-budget - if usb_register failes report back its return code rather than -1 drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c --- a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c Tue Sep 2 12:44:32 2003 +++ b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c Tue Sep 2 12:44:32 2003 @@ -1249,7 +1249,7 @@ if ((err = usb_register(&ttusb_driver)) < 0) { printk("%s: usb_register failed! Error number %d", __FILE__, err); - return -1; + return err; } return 0;