Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
drivers
/
cpuidle
/
cpuidle-arm.c
diff --git
a/kernel/drivers/cpuidle/cpuidle-arm.c
b/kernel/drivers/cpuidle/cpuidle-arm.c
index
545069d
..
1855b9e
100644
(file)
--- a/
kernel/drivers/cpuidle/cpuidle-arm.c
+++ b/
kernel/drivers/cpuidle/cpuidle-arm.c
@@
-50,7
+50,7
@@
static int arm_enter_idle_state(struct cpuidle_device *dev,
* call the CPU ops suspend protocol with idle index as a
* parameter.
*/
* call the CPU ops suspend protocol with idle index as a
* parameter.
*/
- arm_cpuidle_suspend(idx);
+
ret =
arm_cpuidle_suspend(idx);
cpu_pm_exit();
}
cpu_pm_exit();
}
@@
-135,6
+135,7
@@
static int __init arm_idle_init(void)
dev = kzalloc(sizeof(*dev), GFP_KERNEL);
if (!dev) {
pr_err("Failed to allocate cpuidle device\n");
dev = kzalloc(sizeof(*dev), GFP_KERNEL);
if (!dev) {
pr_err("Failed to allocate cpuidle device\n");
+ ret = -ENOMEM;
goto out_fail;
}
dev->cpu = cpu;
goto out_fail;
}
dev->cpu = cpu;