Re: linux-next: build warnings after merge of the sound-asoc-fixes tree

From: Pierre-Louis Bossart
Date: Thu Aug 20 2020 - 20:01:22 EST




On 8/20/20 6:39 PM, Stephen Rothwell wrote:
Hi all,

After merging the sound-asoc-fixes tree, today's linux-next build
(x86_64 allmodconfig) produced these warnings:

WARNING: modpost: module snd-sof-intel-hda-common uses symbol sdw_intel_acpi_scan from namespace SOUNDWIRE_INTEL_INIT, but does not import it.
WARNING: modpost: module snd-sof-intel-hda-common uses symbol sdw_intel_probe from namespace SOUNDWIRE_INTEL_INIT, but does not import it.
WARNING: modpost: module snd-sof-intel-hda-common uses symbol sdw_intel_process_wakeen_event from namespace SOUNDWIRE_INTEL_INIT, but does not import it.
WARNING: modpost: module snd-sof-intel-hda-common uses symbol sdw_intel_startup from namespace SOUNDWIRE_INTEL_INIT, but does not import it.
WARNING: modpost: module snd-sof-intel-hda-common uses symbol sdw_intel_exit from namespace SOUNDWIRE_INTEL_INIT, but does not import it.
WARNING: modpost: module snd-sof-intel-hda-common uses symbol sdw_intel_enable_irq from namespace SOUNDWIRE_INTEL_INIT, but does not import it.
WARNING: modpost: module snd-sof-intel-hda-common uses symbol sdw_intel_thread from namespace SOUNDWIRE_INTEL_INIT, but does not import it.

Presumably introduced by commit

82cb71d68c22 ("ASoC: SOF: Intel: add build support for SoundWire")

There is a companion patch 1eb629363aa35 ("ASoC: SOF: Intel: hda: import SOUNDWIRE_INIT namespace") that does the import, not sure what causes the warning?