Skip to content

"Section mismatch in reference from the variable max77686_regulators" #18

@toxygen

Description

@toxygen

while compiling kernel with

make odroidx2_ubuntu_defconfig
make zImage CONFIG_DEBUG_SECTION_MISMATCH=y -j4

following warning is produced

WARNING: vmlinux.o(.data+0x8abc): Section mismatch in reference from the variable max77686_regulators to the (unknown reference) .init.data:(unknown)
The variable max77686_regulators references
the (unknown reference) __initdata (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions