sys_init_module: 'lirc_bt829'->init suspiciously returned 1, it should follow 0/-E convention sys_init_module: loading module anyway... Pid: 8511, comm: modprobe Tainted: G WC 3.0.0-rc6+ #73 Call Trace: [<ffffffff810b3da7>] sys_init_module+0x217/0x230 [<ffffffff815ed1d2>] system_call_fastpath+0x16/0x1b
Showing the changes to drivers/staging/lirc/lirc_bt829.c (1 of 1 file). Show all
Unified · Split
| @@ -122,10 +122,10 @@ int init_module(void) · 121 unmodified lines | ||
| 122 | 122 | |
| 123 | 123 | pdev = do_pci_probe(); |
| 124 | 124 | if (pdev == NULL) |
| 125 | − return 1; | |
| 125 | + return -ENODEV; | |
| 126 | 126 | |
| 127 | 127 | if (!atir_init_start()) |
| 128 | − return 1; | |
| 128 | + return -ENODEV; | |
| 129 | 129 | |
| 130 | 130 | strcpy(atir_driver.name, "ATIR"); |
| 131 | 131 | atir_driver.minor = -1; |