linux-next: build warning after merge of the pm tree
From: Stephen Rothwell
Date: Thu Jun 07 2018 - 20:30:46 EST
Hi all,
After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:
WARNING: vmlinux.o(.text+0xc5b83a): Section mismatch in reference from the function __intel_pstate_cpu_init() to the variable .init.rodata:intel_pstate_hwp_boost_ids
The function __intel_pstate_cpu_init() references
the variable __initconst intel_pstate_hwp_boost_ids.
This is often because __intel_pstate_cpu_init lacks a __initconst
annotation or the annotation of intel_pstate_hwp_boost_ids is wrong.
Introduced by commit
f50f70793d78 ("cpufreq: intel_pstate: enable boost for Skylake Xeon")
--
Cheers,
Stephen Rothwell
Attachment:
pgpElBRIsXjV7.pgp
Description: OpenPGP digital signature