projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b71315
)
ACPI: fix build warning
author
Len Brown
<len.brown@intel.com>
Thu, 7 Feb 2008 09:24:01 +0000
(
04:24
-0500)
committer
Len Brown
<len.brown@intel.com>
Thu, 7 Feb 2008 09:24:01 +0000
(
04:24
-0500)
drivers/acpi/system.c:360: warning: ignoring return value of ‘sysfs_create_group’, declared with attribute warn_unused_result
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/system.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/system.c
b/drivers/acpi/system.c
index ce881713f7a623219b5b3239ef7c7d5056a474e9..55cf4c05bb74edc7714ddb4a000b729395feb291 100644
(file)
--- a/
drivers/acpi/system.c
+++ b/
drivers/acpi/system.c
@@
-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();