linux-next: build warning after merge of the pm tree
Quoted 22 lines · On Thursday, July 11, 2019 7:46:29 AM CEST [email protected] wrote:
Quoted 5 lines
Hi all,
After merging the pm tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:Quoted 8 lines
drivers/cpufreq/pasemi-cpufreq.c: In function 'pas_cpufreq_cpu_init':drivers/cpufreq/pasemi-cpufreq.c:199:1: warning: label 'out_unmap_sdcpwr' defined but not used [-Wunused-label]out_unmap_sdcpwr:
^~~~~~~~~~~~~~~~Introduced by commit
f43e075f7252("cpufreq/pasemi: fix an use-after-free inpas_cpufreq_cpu_init()")Thank you very much.
We need to delete the useless code here:
drivers/cpufreq/pasemi-cpufreq.c +0
-0
drivers/cpufreq/pasemi-cpufreq.c static int pas_cpufreq_cpu_init(struct cpufreq_policy *policy) · line 200
Quoted 9 lines
drivers/cpufreq/pasemi-cpufreq.c +0
-3@@ -195,9 +195,6 @@ static int pas_cpufreq_cpu_init(struct cpufreq_policy *policy)return cpufreq_generic_init (policy, pas_freqs,get_gizmo_latency ()); -out_unmap_sdcpwr: -iounmap (sdcpwr_mapbase); - out_unmap_sdcasr:iounmap (sdcasr_mapbase); out:
I'm dropping commit f43e075f7252 from my linux-next branch, so please send a new version of that patch with the issue fixed.
If you consider alternatives to the patch, please describe them in the message section between the patch and the changelog.