projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
[deliverable/linux.git]
/
drivers
/
acpi
/
sysfs.c
diff --git
a/drivers/acpi/sysfs.c
b/drivers/acpi/sysfs.c
index 40a42655227c2ccacd6cf0c0f47269224a8fe658..0243d375c6fd40134bd7404008ef6e43144867dc 100644
(file)
--- a/
drivers/acpi/sysfs.c
+++ b/
drivers/acpi/sysfs.c
@@
-878,6
+878,9
@@
int __init acpi_sysfs_init(void)
return result;
hotplug_kobj = kobject_create_and_add("hotplug", acpi_kobj);
+ if (!hotplug_kobj)
+ return -ENOMEM;
+
result = sysfs_create_file(hotplug_kobj, &force_remove_attr.attr);
if (result)
return result;
This page took
0.024166 seconds
and
5
git commands to generate.