Commit 3b50c0f8 authored by Daniele Bellucci's avatar Daniele Bellucci Committed by Greg Kroah-Hartman

[PATCH] Another bad usb_register audit: dvb-ttusb-budget

- if usb_register failes report back its return code rather than -1
parent 03f8950d
......@@ -1249,7 +1249,7 @@ static int __init ttusb_init(void)
if ((err = usb_register(&ttusb_driver)) < 0) {
printk("%s: usb_register failed! Error number %d",
__FILE__, err);
return -1;
return err;
}
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment