projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/cpufreq/pcc-cpufreq.c: fix error return code
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
cpufreq
/
pcc-cpufreq.c
diff --git
a/drivers/cpufreq/pcc-cpufreq.c
b/drivers/cpufreq/pcc-cpufreq.c
index cdc02ac8f41a7ff5d3f121e2b0927fd8bf99ae7a..503996a94a6af3d4f41292794c14f261ada96ae1 100644
(file)
--- a/
drivers/cpufreq/pcc-cpufreq.c
+++ b/
drivers/cpufreq/pcc-cpufreq.c
@@
-454,6
+454,7
@@
static int __init pcc_cpufreq_probe(void)
mem_resource->address_length);
if (pcch_virt_addr == NULL) {
pr_debug("probe: could not map shared mem region\n");
+ ret = -ENOMEM;
goto out_free;
}
pcch_hdr = pcch_virt_addr;