Re: [PATCH v6 08/14] memory: tegra: Enable compile testing for all drivers

From: Dmitry Osipenko
Date: Mon Jun 07 2021 - 10:02:17 EST


07.06.2021 16:36, Thierry Reding пишет:
>> /bin/ld: warning: orphan section `__reservedmem_of_table' from `drivers/memory/tegra/tegra210-emc-table.o' being placed in section `__reservedmem_of_table'
>> /bin/ld: drivers/memory/tegra/mc.o: in function `tegra_mc_probe':
>> mc.c:(.text+0x87a): undefined reference to `reset_controller_register'
>> make[1]: *** [/home/buildbot/worker/builddir/build/Makefile:1191: vmlinux] Error 1
...

> Not sure what to do about that orphaned __reservedmem_of_table section.
> Maybe all we need to do is to select OF_RESERVED_MEM from
> TEGRA210_EMC_TABLE?

Select won't work easily, but the dependency for TEGRA210_EMC should.