configs: enable CONFIG_SECTION_MISMATCH_WARN_ONLY to allow section mismatch
Enable this configuration to bypass such error reports:
WARNING: drivers/powercap/intel_rapl_common.o(.text+0x10fb): Section mismatch in reference from the function rapl_add_package() to the variable .init.rodata:rapl_ids
The function rapl_add_package() references
the variable __initconst rapl_ids.
This is often because rapl_add_package lacks a __initconst
annotation or the annotation of rapl_ids is wrong.
FATAL: modpost: Section mismatches detected.
Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.
make[1]: *** [__modpost] Error 1
Signed-off-by: NCaspar Zhang <caspar@linux.alibaba.com>
Showing
想要评论请 注册 或 登录