提交 b7143156 编写于 作者: L Len Brown

ACPI: fix build warning

drivers/acpi/system.c:360: warning: ignoring return value of ‘sysfs_create_group’, declared with attribute warn_unused_result
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 9b713154
......@@ -357,8 +357,8 @@ void acpi_irq_stats_init(void)
}
interrupt_stats_attr_group.attrs = all_attrs;
sysfs_create_group(acpi_kobj, &interrupt_stats_attr_group);
return;
if (!sysfs_create_group(acpi_kobj, &interrupt_stats_attr_group))
return;
fail:
delete_gpe_attr_array();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册