git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ACPI / power: Avoid maybe-uninitialized warning
[pandora-kernel.git]
/
drivers
/
acpi
/
apei
/
ghes.c
diff --git
a/drivers/acpi/apei/ghes.c
b/drivers/acpi/apei/ghes.c
index
b8e08cb
..
bc9828d
100644
(file)
--- a/
drivers/acpi/apei/ghes.c
+++ b/
drivers/acpi/apei/ghes.c
@@
-656,7
+656,7
@@
static int ghes_proc(struct ghes *ghes)
ghes_do_proc(ghes->estatus);
out:
ghes_clear_estatus(ghes);
ghes_do_proc(ghes->estatus);
out:
ghes_clear_estatus(ghes);
- return
0
;
+ return
rc
;
}
static void ghes_add_timer(struct ghes *ghes)
}
static void ghes_add_timer(struct ghes *ghes)
@@
-953,6
+953,7
@@
static int __devexit ghes_remove(struct platform_device *ghes_dev)
if (list_empty(&ghes_sci))
unregister_acpi_hed_notifier(&ghes_notifier_sci);
mutex_unlock(&ghes_list_mutex);
if (list_empty(&ghes_sci))
unregister_acpi_hed_notifier(&ghes_notifier_sci);
mutex_unlock(&ghes_list_mutex);
+ synchronize_rcu();
break;
case ACPI_HEST_NOTIFY_NMI:
mutex_lock(&ghes_list_mutex);
break;
case ACPI_HEST_NOTIFY_NMI:
mutex_lock(&ghes_list_mutex);