[PATCH] powerpc: Avoid __initcall warnings
Fix __initcall return in proc_rtas_init and rtas_init. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
此提交包含在:
@@ -488,7 +488,7 @@ static int __init rtas_init(void)
|
||||
/* No RTAS */
|
||||
if (rtas_token("event-scan") == RTAS_UNKNOWN_SERVICE) {
|
||||
printk(KERN_INFO "rtasd: no event-scan on system\n");
|
||||
return 1;
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
entry = create_proc_entry("ppc64/rtas/error_log", S_IRUSR, NULL);
|
||||
|
新增問題並參考
封鎖使用者