Re: [PATCH] cpufreq: intel_pstate: remove incorrect __initconst annotation

2018-06-08 Thread Srinivas Pandruvada
On Fri, 2018-06-08 at 17:14 +0200, Arnd Bergmann wrote: > We get a build warning about the newly introduced code in > intel_pstate_init_cpu() that references an __initconst variable after > it has been freed: > I see Rafael already addressed this. https://kernel.googlesource.com/pub/scm/linux/kern

[PATCH] cpufreq: intel_pstate: remove incorrect __initconst annotation

2018-06-08 Thread Arnd Bergmann
We get a build warning about the newly introduced code in intel_pstate_init_cpu() that references an __initconst variable after it has been freed: WARNING: vmlinux.o(.text+0xf9eca2): Section mismatch in reference from the function intel_pstate_init_cpu() to the variable .init.rodata:intel_pstate