提交 f6266e34 编写于 作者: A Alexey Dobriyan 提交者: Linus Torvalds

edd: fix incorrect return of 1 from module_init

Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 d3e49afb
...@@ -753,7 +753,7 @@ edd_init(void) ...@@ -753,7 +753,7 @@ edd_init(void)
if (!edd_num_devices()) { if (!edd_num_devices()) {
printk(KERN_INFO "EDD information not available.\n"); printk(KERN_INFO "EDD information not available.\n");
return 1; return -ENODEV;
} }
edd_kset = kset_create_and_add("edd", NULL, firmware_kobj); edd_kset = kset_create_and_add("edd", NULL, firmware_kobj);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册