• C
    configs: enable CONFIG_SECTION_MISMATCH_WARN_ONLY to allow section mismatch · a181a463
    Caspar Zhang 提交于
    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>
    a181a463
config-4.19.y-x86_64-debug-intel 108.5 KB