On Mon, Nov 8, 2021 at 6:18 PM Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com wrote:
On 11/8/21 10:15 AM, Arnd Bergmann wrote:
On Mon, Nov 8, 2021 at 3:13 PM Daniel Baluta daniel.baluta@nxp.com wrote:
On a related note, with this randconfig we have a separate problem on an AMD patch on the SOF tree
ERROR: modpost: "snd_amd_acp_find_config" [sound/soc/amd/snd-acp-config] is a static EXPORT_SYMBOL
That wasn't detected earlier, any idea what Kconfig option I need to enable to filter this out?
I don't see that symbol on linux-next at all, so this must be a bug that is specific to the current SOF tree. The message tells you that snd_amd_acp_find_config should not be exported at all since it's static, or it should not be marked static because it is used by other modules. IOW having a symbol that is both static and exported means it's not usable from built-in drivers.
Arnd